diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index bca3186..1bbc4a3 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -10,19 +10,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Cache cargo build - uses: actions/cache@v4 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock', '**/*.rs', '**/Cargo.toml') }} - - name: Cache cargo binaries - uses: actions/cache@v4 - with: - path: ~/.cargo/bin - key: cargo-bin-${{ runner.os }}-v1 - name: Install cargo-sort if needed run: | if ! command -v cargo-sort &> /dev/null; then @@ -34,9 +21,9 @@ jobs: - name: cargo sort run: cargo sort --check - name: Build - run: cargo build --features "serde" + run: cargo build --features serde - name: Run tests - run: cargo test -- --test-threads=1 + run: cargo test --features serde -- --test-threads=1 - name: fmt run: cargo fmt -v -- --check - name: lint