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
16 changes: 7 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,19 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v3
- uses: actions/cache@v4
id: cache-cargo-fetch
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-cargo-fetch-${{ hashFiles('Cargo.lock') }}
path: target
restore-keys: ${{ runner.os }}-cargo-fetch
- name: Fetch Dependencies
if: steps.cache-cargo-fetch.outputs.cache-hit != 'true'
run: cargo fetch
- name: Build
run: cargo build --all-features
- name: Run tests
run: cargo test --workspace
run: cargo test

lint:
runs-on: ubuntu-latest
Expand Down
Loading