Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,14 @@ runs:
- name: Install cargo-binstall
if: inputs.install-binstall == 'true'
uses: cargo-bins/cargo-binstall@main
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Install Tarpaulin (via binstall)
if: inputs.use-cross == 'false' && inputs.use-tarpaulin == 'true' && inputs.use-binstall == 'true'
shell: bash
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
# The force here is kinda forced for back compat reasons, else cargo might not pick up the binary;
# while binstall thinks it's there due to caching. Current versions wouldn't cache preinstalled cargo-tarpaulin
Expand Down