mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 04:53:44 +02:00
Fix caching in validation workflow
This commit is contained in:
parent
247e499c13
commit
e805d9312e
1 changed files with 14 additions and 1 deletions
15
.github/workflows/validate.yml
vendored
15
.github/workflows/validate.yml
vendored
|
@ -17,10 +17,23 @@ jobs:
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
target: aarch64-apple-darwin
|
target: x86_64-unknown-linux-gnu
|
||||||
override: true
|
override: true
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
|
|
||||||
|
- name: Set up cargo cache
|
||||||
|
uses: actions/cache@v3
|
||||||
|
continue-on-error: false
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cargo/bin/
|
||||||
|
~/.cargo/registry/index/
|
||||||
|
~/.cargo/registry/cache/
|
||||||
|
~/.cargo/git/db/
|
||||||
|
target/
|
||||||
|
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.toml', '*/Cargo.toml') }}
|
||||||
|
restore-keys: ${{ runner.os }}-cargo-
|
||||||
|
|
||||||
- name: validate-1m-linux
|
- name: validate-1m-linux
|
||||||
env:
|
env:
|
||||||
CC: 'gcc'
|
CC: 'gcc'
|
||||||
|
|
Loading…
Add table
Reference in a new issue