From 0345dc8bdcaaecde21d407e503627ebc3e4a1727 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 14 Mar 2025 08:49:37 +0100 Subject: [PATCH] Don't clone, just take the sources from the gh runner --- .github/workflows/CICD.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index c980c790c..9643815d9 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -1056,6 +1056,7 @@ jobs: run: limactl start --plain --name=default --cpus=1 --disk=30 --memory=4 --network=lima:user-v2 template://fedora - name: Setup SSH uses: lima-vm/lima-actions/ssh@v1 + - run: rsync -v -a -e ssh . lima-default:~/work/ - name: Setup Rust and other build deps in VM run: | lima sudo dnf install gcc g++ git rustup libselinux-devel clang-devel -y @@ -1064,10 +1065,7 @@ jobs: run: | lima getenforce lima ls -laZ /etc/selinux - - name: Clone Repository - run: | - lima git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY - name: Build and Test with SELinux run: | - lima df -h - lima bash -c "cd coreutils && cargo test --features 'feat_selinux'" + lima ls + lima bash -c "cd work && cargo test --features 'feat_selinux'"