From a3169dedf9e4fafecaed7eefdcb5ceb7e79535f2 Mon Sep 17 00:00:00 2001 From: Matthieu Pizenberg Date: Fri, 1 Dec 2023 21:24:09 +0100 Subject: [PATCH] Update test ci job (no cache) --- .github/workflows/ci.yml | 32 ++++---------------------------- 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5afa1253..99fcc71f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,34 +14,10 @@ jobs: name: Tests pass runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Install stable Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - - - name: Get Cargo version - id: cargo_version - run: echo "::set-output name=version::$(cargo -V | tr -d ' ')" - shell: bash - - - name: Download cache - uses: actions/cache@v2 - with: - path: | - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - target/ - key: ${{ runner.os }}-${{ steps.cargo_version.outputs.version }}-${{ hashFiles('Cargo.toml') }} - restore-keys: ${{ runner.os }}-${{ steps.cargo_version.outputs.version }} - - - name: Build - run: cargo build --verbose - - - name: Run tests - run: cargo test --features=serde --verbose + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - run: cargo build --verbose + - run: cargo test --features=serde --verbose clippy: name: No warnings from Clippy