From 8aa7427b84a65e644d3720c594c891c63857348d Mon Sep 17 00:00:00 2001 From: Constantin Nickel Date: Mon, 9 Nov 2020 07:05:02 +0100 Subject: [PATCH] Switch to hecrj/setup-rust-action The action registers problem matchers to highlight errors and warnings. --- .github/workflows/ci.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99028e9..93183f5 100644 --- a/.github/workflows/ci.yml +++ b/.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: |