Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Jan 4, 2024
1 parent fefdda1 commit 4049bca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ jobs:
- uses: stellar/actions/rust-cache@main
- name: Get minimum supported Rust version
id: msrv
run: echo msrv="$(cargo metadata --format-version 1 | jq -r '.packages.[] | select(.name == "stellar-xdr") | .rust_version')" >> $GITHUB_OUTPUT
run: |
cargo metadata --format-version 1 | jq -r '.packages.[] | select(.name == "stellar-xdr") | .rust_version'
echo msrv="$(cargo metadata --format-version 1 | jq -r '.packages.[] | select(.name == "stellar-xdr") | .rust_version')" >> $GITHUB_OUTPUT
- name: Installing the minimum supported Rust version
run: rustup default ${{ steps.msrv.outputs.msrv }}
- run: rustup target add ${{ matrix.sys.target }}
Expand Down

0 comments on commit 4049bca

Please sign in to comment.