Skip to content

Commit

Permalink
fix(ci): fix installation of cargo-all-features
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Dec 29, 2024
1 parent 7ccf717 commit 3b7b5e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,8 @@ jobs:
- name: Cache Cargo
uses: Swatinem/rust-cache@v2
- name: Install cargo-all-features
run: cargo install cargo-all-features --git https://github.com/rbtcollins/cargo-all-features.git
shell: bash
run: which cargo-check-all-features || cargo install cargo-all-features --git https://github.com/rbtcollins/cargo-all-features.git
- name: Ensure we have our goal target installed
run: |
rustup target install ${{ matrix.target }}
Expand Down
3 changes: 2 additions & 1 deletion ci/actions-templates/all-features-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ jobs: # skip-all
- name: Cache Cargo
uses: Swatinem/rust-cache@v2
- name: Install cargo-all-features
run: cargo install cargo-all-features --git https://github.com/rbtcollins/cargo-all-features.git
shell: bash
run: which cargo-check-all-features || cargo install cargo-all-features --git https://github.com/rbtcollins/cargo-all-features.git
- name: Ensure we have our goal target installed
run: |
rustup target install ${{ matrix.target }}
Expand Down

0 comments on commit 3b7b5e9

Please sign in to comment.