Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,14 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Rust build cache (kache)
uses: kunobi-ninja/kache-action@ad7317540dcdd71c904f7a60a87b620a0c0e67ed # v2.0.0
with:
version: "2.0.0"
cache-executables: "false"
github-cache: "true"
manifest-key: ci-lint
save-cache: ${{ github.ref == 'refs/heads/main' }}
- name: cargo fmt check
run: cargo fmt --all -- --check
- name: cargo clippy
Expand All @@ -42,7 +49,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Rust build cache (kache)
uses: kunobi-ninja/kache-action@ad7317540dcdd71c904f7a60a87b620a0c0e67ed # v2.0.0
with:
version: "2.0.0"
cache-executables: "false"
github-cache: "true"
manifest-key: ci-test
save-cache: ${{ github.ref == 'refs/heads/main' }}
- name: cargo test
run: cargo test --workspace -j 2
- name: cargo test doc
Expand Down
Loading