mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 19:54:35 +00:00
workflow: call cargo in user's $PATH
Call cargo in root's HOME may lead to permission error, should call cargo installed in user's HOME/PATH. Fixes: #5813 Signed-off-by: Bin Liu <bin@hyper.sh>
This commit is contained in:
parent
1da2d0603c
commit
89574f03f8
@ -28,6 +28,6 @@ jobs:
|
||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
||||
run: |
|
||||
cd src/dragonball
|
||||
/root/.cargo/bin/cargo version
|
||||
cargo version
|
||||
rustc --version
|
||||
sudo -E env PATH=$PATH LIBC=gnu SUPPORT_VIRTUALIZATION=true make test
|
||||
|
Loading…
Reference in New Issue
Block a user