From 945c3faec1cd5c72bc2783b4324f4b8d73db1c12 Mon Sep 17 00:00:00 2001 From: maciektr Date: Thu, 5 Dec 2024 19:24:47 +0100 Subject: [PATCH] Disable caching for setup-scarb in Scarb CI (#1807) --- .github/workflows/ci.yml | 1 + .github/workflows/publish_plugins.yml | 1 + .github/workflows/website-deploy.yml | 4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 144278208..5ed2eeab0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,6 +72,7 @@ jobs: - uses: dtolnay/rust-toolchain@stable - uses: software-mansion/setup-scarb@v1 with: + cache: false scarb-version: "2.3.0" - run: echo "SCARB_TEST_BIN=$(which scarb)" >> $GITHUB_ENV - name: run tests diff --git a/.github/workflows/publish_plugins.yml b/.github/workflows/publish_plugins.yml index a8a105a85..cc802b92e 100644 --- a/.github/workflows/publish_plugins.yml +++ b/.github/workflows/publish_plugins.yml @@ -16,6 +16,7 @@ jobs: - uses: software-mansion/setup-scarb@v1 with: + cache: false scarb-version: ${{ github.ref_name }} - name: Init Scarb to cache plugins diff --git a/.github/workflows/website-deploy.yml b/.github/workflows/website-deploy.yml index 6d9200fb0..8e00e7eb8 100644 --- a/.github/workflows/website-deploy.yml +++ b/.github/workflows/website-deploy.yml @@ -27,6 +27,8 @@ jobs: - name: Install mdBook run: cargo install --version ${MDBOOK_VERSION} mdbook - uses: software-mansion/setup-scarb@v1 + with: + cache: false - name: Init Scarb to cache corelib id: scarb-init run: | @@ -47,7 +49,7 @@ jobs: mdbook build working-directory: ./core - name: Apply custom highlighting - run: | + run: | curl -o highlight.js https://raw.githubusercontent.com/software-mansion/scarb/main/extensions/scarb-doc/theme/highlight.js cp highlight.js ./core/target/doc/core/highlight.js - uses: actions/upload-artifact@v4