diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3c3492a..aa65d26 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -10,10 +10,15 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - name: Cache + uses: swatinem/rust-cache@v2 + - name: Check formatting + run: cargo fmt -- --check - name: Build run: cargo build --verbose - name: Run tests run: cargo test --verbose - name: Run clippy - run: cargo clippy --verbose + run: cargo clippy -- -D warnings +