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

Loading…
Cancel
Save