Skip to content

Commit

Permalink
Change to maintained crate installer, cache binary (#931)
Browse files Browse the repository at this point in the history
* Use tool cache for installing tuftool

This should improve runtime of TUF client tests.

Fixes #924

Signed-off-by: Hayden B <hblauzvern@google.com>

* Change crate installer GHA

Signed-off-by: Hayden B <hblauzvern@google.com>

---------

Signed-off-by: Hayden B <hblauzvern@google.com>
  • Loading branch information
haydentherapper committed Aug 23, 2023
1 parent 31cfce7 commit 5921d40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tuf_client_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ jobs:
go run ./tests/client-tests list http://localhost:8001
# Test with rust client
- name: Install tuftool
uses: actions-rs/install@9da1d2adcfe5e7c16992e8242ca33a56b6d9b101 # v0.1.2
uses: baptiste0928/cargo-install@30f432979e99f3ea66a8fa2eede53c07063995d8 # v2.1.0
with:
crate: tuftool
version: "0.8.1"
version: "0.10.0"
- run: |
tuftool download out \
--root repository/repository/2.root.json \
Expand Down

0 comments on commit 5921d40

Please sign in to comment.