Skip to content

Commit

Permalink
Bump for rust cache v2
Browse files Browse the repository at this point in the history
This just updates the rust cache actions version
  • Loading branch information
jkilpatr committed Sep 27, 2023
1 parent 1de3e21 commit f799b81
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Check Rita and Rita Exit x86
run: cargo check --all
test:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Run Rita and Rita Exit tests
run: RUST_TEST_THREADS=1 cargo test --verbose --all
rustfmt:
Expand All @@ -37,47 +37,47 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Check for Clippy lints
run: rustup component add clippy && cargo clippy --all --all-targets --all-features -- -D warnings
audit:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Run Cargo Audit
run: cargo install cargo-audit && cargo audit
cross-mips:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Cross test mips
run: cargo install cross && cross test --target mips-unknown-linux-musl --verbose -- --test-threads=1
cross-mipsel:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Cross test mipsel
run: cargo install cross && cross test --target mipsel-unknown-linux-musl --verbose -- --test-threads=1
cross-aarch64:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Cross test aarch64
run: cargo install cross && cross test --target aarch64-unknown-linux-musl --verbose -- --test-threads=1
cross-armv7:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Cross test armv7
run: cargo install cross && cross test --target armv7-unknown-linux-musleabihf --verbose -- --test-threads=1
integration-test-five-nodes:
Expand Down

0 comments on commit f799b81

Please sign in to comment.