Skip to content

Commit 61d62a2

Browse files
committed
apt needs sudo
1 parent 968a556 commit 61d62a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/rust.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
id: rust-toolchain
7575
- run: cargo --config 'resolver.incompatible-rust-versions="fallback"' update
7676
# on msrv runs, downgrade rust after generating the Cargo.lock file
77-
- run: apt -y update && apt -y install --no-install-recommends yq
77+
- run: sudo apt -y update && sudo apt -y install --no-install-recommends yq
7878
if: matrix.rust.name == 'MSRV'
7979
- run: echo "rust-version=$(tomlq -r '.workspace.package."rust-version"' Cargo.toml)" >>$GITHUB_OUTPUT
8080
id: msrv

0 commit comments

Comments
 (0)