diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 296bad6bd..82f0e0be5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,16 +17,14 @@ jobs: RUSTFLAGS: "-Dwarnings" steps: - name: Checkout SSI Library - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: true - + - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@master with: toolchain: "1.75.0" - profile: minimal - override: true components: rustfmt, clippy - uses: Swatinem/rust-cache@v2 @@ -56,22 +54,24 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout SSI Library - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: true - - uses: taiki-e/install-action@cargo-hack + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + - uses: taiki-e/install-action@cargo-hack - uses: Swatinem/rust-cache@v2 with: cache-on-failure: "true" - name: Test each feature - run: cargo hack test --each-feature --workspace --exclude ssi --exclude 'ssi-did-test' -- --test-threads=4 + run: cargo hack test --each-feature --workspace --clean-per-run --exclude ssi --exclude 'ssi-did-test' -- --test-threads=4 semver: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check semver uses: obi1kenobi/cargo-semver-checks-action@v2