Switch to hecrj/setup-rust-action

The action registers problem matchers to highlight errors and warnings.
pull/68/head
Constantin Nickel 4 years ago committed by Sebastian Dröge
parent c6961093ef
commit 8aa7427b84
  1. 17
      .github/workflows/ci.yml

@ -12,12 +12,9 @@ jobs:
uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
uses: hecrj/setup-rust-action@v1
with:
toolchain: stable
components: rustfmt
profile: minimal
override: true
- run: cargo fmt -- --check
@ -37,11 +34,9 @@ jobs:
uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
uses: hecrj/setup-rust-action@v1
with:
toolchain: ${{ matrix.rust }}
profile: minimal
override: true
rust-version: ${{ matrix.rust }}
- name: Install dependencies
run: |
@ -102,11 +97,9 @@ jobs:
uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
uses: hecrj/setup-rust-action@v1
with:
toolchain: ${{ matrix.rust }}
profile: minimal
override: true
rust-version: ${{ matrix.rust }}
- name: Install dependencies
run: |

Loading…
Cancel
Save