Skip to content

Commit

Permalink
Merge pull request #33 from tuhanayim/ci/fix-nightly-cache
Browse files Browse the repository at this point in the history
Fix Rust cache on nightly toolchain
  • Loading branch information
catuhana authored Nov 29, 2023
2 parents 9e7cbbd + d9746ef commit cd6b5fe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:

- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
with:
key: stable

- name: Build project
run: cargo build --verbose --release
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:

- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.toolchain }}

- name: Check code format
run: cargo +${{ matrix.toolchain }} fmt --verbose --all --check
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ jobs:

- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
with:
key: stable

- name: Build project
run: cargo build --verbose --release
Expand Down

0 comments on commit cd6b5fe

Please sign in to comment.