Skip to content

Commit

Permalink
Cargo CI Cache
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasDeBruijn committed May 17, 2024
1 parent e08c46e commit 7c14deb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
server/target
key: ${{ runner.os }}-${{ matrix.toolchain }}-${{ matrix.target }}-cargo-${{ hashFiles('server/**/Cargo.lock') }}

- run: sudo apt install -y musl-tools
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: rustup target add --toolchain ${{ matrix.toolchain }} ${{ matrix.target }}
Expand Down

0 comments on commit 7c14deb

Please sign in to comment.