diff --git a/.github/workflows/cbindgen.yml b/.github/workflows/cbindgen.yml index f2614e9..4d4f55d 100644 --- a/.github/workflows/cbindgen.yml +++ b/.github/workflows/cbindgen.yml @@ -17,12 +17,9 @@ jobs: - uses: actions/checkout@v2 - name: Install stable - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - profile: minimal - toolchain: stable - override: true - components: rustfmt + components: "clippy, rustfmt" - name: Run rustfmt uses: actions-rs/cargo@v1 @@ -30,9 +27,6 @@ jobs: command: fmt args: -- --check - - name: Install clippy - uses: dtolnay/rust-toolchain@clippy - - name: Run clippy run: | cargo clippy --workspace -- -D warnings