From 0e15557000729698b68f5eb55b15809e41eff412 Mon Sep 17 00:00:00 2001 From: Meredith Lancaster Date: Tue, 10 Dec 2024 10:18:15 -0700 Subject: [PATCH] windows for loop syntax Signed-off-by: Meredith Lancaster --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 662fe1069..a26cc1336 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -55,12 +55,12 @@ jobs: if: ${{ matrix.os == 'windows-latest' }} run: | attestation_cmd_test_dir="test/integration/attestation-cmd" - for (script in "$attestation_cmd_test_dir"/*.sh); do + for (script in "$attestation_cmd_test_dir"/*.sh) do ( if [ -f "$script" ]; then echo "Running $script..." bash "$script" fi - done + ) - name: Run attestation command integration tests - linux syntax if: ${{ matrix.os != 'windows-latest' }} run: |