Skip to content

Commit

Permalink
Update and fix CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
timothee-haudebourg committed Mar 26, 2024
1 parent fab3d9b commit 20c04b0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 20c04b0

Please sign in to comment.