From 0fa6d31c7e463db0be8d7c2645ba84c908e4d90e Mon Sep 17 00:00:00 2001 From: unspeaker Date: Sat, 19 Apr 2025 23:07:37 +0300 Subject: [PATCH] ci: disable cache --- .forgejo/workflows/test.yaml | 54 ++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml index bbb08492..16d33122 100644 --- a/.forgejo/workflows/test.yaml +++ b/.forgejo/workflows/test.yaml @@ -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/