mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 03:36:41 +01:00
ci: disable cache
This commit is contained in:
parent
0027952260
commit
0fa6d31c7e
1 changed files with 27 additions and 27 deletions
|
|
@ -12,24 +12,24 @@ jobs:
|
|||
- run: git clone --depth 1 --recursive $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
||||
- run: whoami && pwd && tree && cloc src/ && cloc .
|
||||
|
||||
- id: cache
|
||||
name: cache restore
|
||||
uses: https://data.forgejo.org/actions/cache/restore@v4
|
||||
with:
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
path: |
|
||||
~/.cargo/bin/
|
||||
~/.cargo/registry/index/
|
||||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
target/
|
||||
#- id: cache
|
||||
#name: cache restore
|
||||
#uses: https://data.forgejo.org/actions/cache/restore@v4
|
||||
#with:
|
||||
#key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
#path: |
|
||||
#~/.cargo/bin/
|
||||
#~/.cargo/registry/index/
|
||||
#~/.cargo/registry/cache/
|
||||
#~/.cargo/git/db/
|
||||
#target/
|
||||
|
||||
- name: cache hit
|
||||
if: steps.cache.outputs.cache-hit == 'true'
|
||||
run: echo "cache hit! :)"
|
||||
- name: cache miss
|
||||
if: steps.cache.outputs.cache-miss != 'true'
|
||||
run: echo "cache miss! :("
|
||||
#- name: cache hit
|
||||
#if: steps.cache.outputs.cache-hit == 'true'
|
||||
#run: echo "cache hit! :)"
|
||||
#- name: cache miss
|
||||
#if: steps.cache.outputs.cache-miss != 'true'
|
||||
#run: echo "cache miss! :("
|
||||
|
||||
- run: cloc src/ && cloc .
|
||||
- run: rustup-init -y
|
||||
|
|
@ -37,13 +37,13 @@ jobs:
|
|||
- run: source "$HOME/.cargo/env" && RUSTFLAGS="-Ctarget-feature=-crt-static" just test
|
||||
- run: tree
|
||||
|
||||
- name: cache save
|
||||
uses: https://data.forgejo.org/actions/cache/save@v4
|
||||
with:
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
path: |
|
||||
~/.cargo/bin/
|
||||
~/.cargo/registry/index/
|
||||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
target/
|
||||
#- name: cache save
|
||||
#uses: https://data.forgejo.org/actions/cache/save@v4
|
||||
#with:
|
||||
#key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
#path: |
|
||||
#~/.cargo/bin/
|
||||
#~/.cargo/registry/index/
|
||||
#~/.cargo/registry/cache/
|
||||
#~/.cargo/git/db/
|
||||
#target/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue