diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e32eacf..325c85e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,18 +8,15 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - override: true - - name: Install cargo-audit and clippy - run: cargo install cargo-audit cargo-clippy + - name: Set up Rust + uses: actions/checkout@v4 + - name: Install cargo-audit + run: cargo install cargo-audit - name: Build run: cargo build --verbose - name: Run tests run: cargo test --verbose - name: Run clippy - run: cargo clippy --verbose + run: cargo clippy --verbose -- -D warnings - name: Run audit run: cargo audit