Skip to content

Commit

Permalink
don't install tools if cache was hit
Browse files Browse the repository at this point in the history
  • Loading branch information
jglynn committed Nov 1, 2023
1 parent 67e7814 commit bc45cdb
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/cosmwasm-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- uses: actions/checkout@v3

- name: Set up cargo cache
id: cache-rust
uses: actions/cache@v3
continue-on-error: false
with:
Expand All @@ -38,13 +39,14 @@ jobs:
target: wasm32-unknown-unknown
components: clippy

- name: Install Tools
- if: ${{ steps.cache-rust.outputs.cache-hit != 'true' }}
name: Install Tools
run: |
cargo install cargo-ensure-installed --force --locked
cargo ensure-installed --package=cosmwasm-check --version 1.4.1
cargo ensure-installed --package=cargo-llvm-cov --version 0.5.35
cargo ensure-installed --package=cargo-sbom --version 0.8.4
cargo ensure-installed --package=cargo-sonar --version 0.21.0
cargo install cargo-ensure-installed --f
cargo install cosmwasm-check --version 1.4.1 --locked
cargo install cargo-llvm-cov --version 0.5.35 --locked
cargo install cargo-sbom --version 0.8.4 --locked
cargo install cargo-sonar --version 0.21.0 --locked
- name: Versions
run: |
Expand Down

0 comments on commit bc45cdb

Please sign in to comment.