Skip to content

Commit

Permalink
CI: Fix rust cache keys
Browse files Browse the repository at this point in the history
  • Loading branch information
luigi311 committed Oct 22, 2024
1 parent 49b8532 commit bcef374
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ jobs:
version: ${{ env.LLVM_VERSION }}

- uses: Swatinem/rust-cache@v2
with:
key: "${{ matrix.os }}
- name: Run cargo test
env:
Expand Down Expand Up @@ -122,6 +124,10 @@ jobs:
path: crates/tanoshi-web/dist
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: Swatinem/rust-cache@v2
with:
key: "${{ matrix.os }}-${{ matrix.arch }}"


- name: Install deps (ubuntu)
if: ${{ matrix.os != 'macos-latest' && matrix.os != 'windows-latest' }}
Expand Down Expand Up @@ -154,8 +160,6 @@ jobs:
vcpkg install --only-downloads libarchive:x64-windows-static-md
vcpkg install libarchive:x64-windows-static-md
- uses: Swatinem/rust-cache@v2

- name: Install Binstall
uses: cargo-bins/cargo-binstall@main

Expand Down

0 comments on commit bcef374

Please sign in to comment.