Skip to content

Commit

Permalink
Don't ignore cargo install cargo-make failures (#346)
Browse files Browse the repository at this point in the history
Only try to install `cargo-make`, if it's not already available. But
expose any problems that happen while installing.
  • Loading branch information
matthiasgoergens authored Oct 10, 2024
1 parent f1e1db1 commit bac2681
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:

- name: Install cargo make
run: |
cargo install cargo-make || echo "cargo-make already installed"
cargo make --version || cargo install cargo-make
- name: Check code format
uses: actions-rs/cargo@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

- name: Install cargo make
run: |
cargo install cargo-make || echo "cargo-make already installed"
cargo make --version || cargo install cargo-make
- name: run test
uses: actions-rs/cargo@v1
env:
Expand Down

0 comments on commit bac2681

Please sign in to comment.