Skip to content

Commit

Permalink
chore(ci): use yq to get rust-version in manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Jan 14, 2025
1 parent e981a91 commit a975219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:

- name: Get MSRV from package metadata
id: msrv
run: grep rust-version Cargo.toml | cut -d'"' -f2 | sed 's/^/version=/' >> $GITHUB_OUTPUT
run: echo "version=$(yq '.package.rust-version' Cargo.toml)" >> $GITHUB_OUTPUT

- name: Install Rust (${{ steps.msrv.outputs.version }})
uses: dtolnay/rust-toolchain@master
Expand Down

0 comments on commit a975219

Please sign in to comment.