From 98f617a29c0a42d02ca6a9aa4b8e3b63c83be735 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Mon, 6 Oct 2025 11:01:13 +0200 Subject: [PATCH] ci: fix "a sequence was not expected" error in the CICD workflow --- .github/workflows/CICD.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index db756eac6..77812c021 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -473,7 +473,9 @@ jobs: # strip the results strip target/size*/usr/local/bin/* - name: Test for hardlinks - run: [ $(stat -c %i target/size-multi-release/usr/local/bin/cp) = $(stat -c %i target/size-multi-release/usr/local/bin/coreutils) ] + shell: bash + run: | + [ $(stat -c %i target/size-multi-release/usr/local/bin/cp) = $(stat -c %i target/size-multi-release/usr/local/bin/coreutils) ] - name: Compute uutil release sizes shell: bash run: | @@ -1284,10 +1286,10 @@ jobs: persist-credentials: false - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - + - name: Build SELinux utilities as stubs run: cargo build -p uu_chcon -p uu_runcon - + - name: Verify stub binaries exist shell: bash run: | @@ -1298,7 +1300,7 @@ jobs: test -f target/debug/chcon || exit 1 test -f target/debug/runcon || exit 1 fi - + - name: Verify workspace builds with stubs run: cargo build --features ${{ matrix.job.features }}