Skip to content

Commit

Permalink
deps(ci): update cache-cargo-install-action
Browse files Browse the repository at this point in the history
and fix ci, by using `tomlq` new binary name, `tq`

Pull-Request: #5481.
  • Loading branch information
jxs authored Jul 4, 2024
1 parent 63313f4 commit 23eb4f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
cargo metadata --format-version=1 --no-deps | \
jq -e -r '.packages[] | select(.name == "'"$CRATE"'") | .dependencies | all(.name != "libp2p")'
- uses: taiki-e/cache-cargo-install-action@5b024fe3a0a2c7f2aaff0e47871acf0d14b07207 # v1
- uses: taiki-e/cache-cargo-install-action@v2
with:
tool: tomlq

Expand All @@ -70,7 +70,7 @@ jobs:
- name: Enforce version in `workspace.dependencies` matches latest version
if: env.CRATE != 'libp2p'
run: |
SPECIFIED_VERSION=$(tomlq "workspace.dependencies.$CRATE.version" --file ./Cargo.toml)
SPECIFIED_VERSION=$(tq "workspace.dependencies.$CRATE.version" --file ./Cargo.toml)
echo "Package version: $CRATE_VERSION";
echo "Specified version: $SPECIFIED_VERSION";
Expand Down

0 comments on commit 23eb4f8

Please sign in to comment.