Skip to content

Commit

Permalink
apt needs sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
msrd0 committed Jan 23, 2025
1 parent 968a556 commit 61d62a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
id: rust-toolchain
- run: cargo --config 'resolver.incompatible-rust-versions="fallback"' update
# on msrv runs, downgrade rust after generating the Cargo.lock file
- run: apt -y update && apt -y install --no-install-recommends yq
- run: sudo apt -y update && sudo apt -y install --no-install-recommends yq
if: matrix.rust.name == 'MSRV'
- run: echo "rust-version=$(tomlq -r '.workspace.package."rust-version"' Cargo.toml)" >>$GITHUB_OUTPUT
id: msrv
Expand Down

0 comments on commit 61d62a2

Please sign in to comment.