Skip to content

Commit

Permalink
Disable caching for setup-scarb in Scarb CI (#1807)
Browse files Browse the repository at this point in the history
  • Loading branch information
maciektr authored Dec 5, 2024
1 parent dfa45f0 commit 945c3fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish_plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/website-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit 945c3fa

Please sign in to comment.