From cd4f764b551be890dd40d14eb0e45d95d588c883 Mon Sep 17 00:00:00 2001 From: Daniel Eades Date: Sat, 13 Jan 2024 03:52:05 +0000 Subject: [PATCH 1/2] pin the toolchain version used by clippy --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3fae4a116..7c7bde5fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: ] steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@1.75.0 with: components: clippy - run: RUSTFLAGS="--deny warnings" cargo clippy ${{ matrix.features }} @@ -41,7 +41,9 @@ jobs: steps: - uses: actions/checkout@v4 - uses: taiki-e/install-action@cargo-no-dev-deps - - uses: dtolnay/rust-toolchain@1.43.1 + - uses: dtolnay/rust-toolchain@master + with: + toolchain: 1.43.1 - run: cargo no-dev-deps check test: From 85d216208833419fe10aeeaaa3131aec2432c559 Mon Sep 17 00:00:00 2001 From: Daniel Eades Date: Sat, 13 Jan 2024 04:52:19 +0000 Subject: [PATCH 2/2] simplify 'check-format' action --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c7bde5fa..08110daa1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,9 +58,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@master + - uses: dtolnay/rust-toolchain@stable with: - toolchain: stable components: rustfmt - run: cargo fmt --check