Skip to content

Commit

Permalink
ci: add rust-cache action (#844)
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan authored Dec 27, 2024
1 parent e5fffe4 commit 91980aa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ jobs:
with:
rust-version: ${{ env.rust_msrv }}

- name: Cache Rust artifacts
uses: Swatinem/rust-cache@v2

- name: Build
run: make build

Expand All @@ -96,6 +99,10 @@ jobs:
- windows-latest
steps:
- uses: actions/checkout@v4

- name: Cache Rust artifacts
uses: Swatinem/rust-cache@v2

- name: Build
run: cargo build -p iceberg --no-default-features

Expand All @@ -109,6 +116,9 @@ jobs:
with:
rust-version: ${{ env.rust_msrv }}

- name: Cache Rust artifacts
uses: Swatinem/rust-cache@v2

- name: Test
run: cargo test --no-fail-fast --all-targets --all-features --workspace

Expand Down

0 comments on commit 91980aa

Please sign in to comment.