From d4cb408090b0505e708cf50c95b8e2c21f2eb143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= Date: Tue, 17 Oct 2023 23:43:50 +0200 Subject: [PATCH] Fix test action by checking out source first (#2836) The first action can't be action with simple run step, because it is respecting the working-directory already. Put checkout step to the top. --- .github/workflows/test.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e8f75f6a2..1867142b9 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -27,16 +27,16 @@ jobs: run: working-directory: ./tests steps: - - name: Install system dependencies - run: | - sudo apt update - sudo apt install -y qemu-system-x86 ovmf - - name: Checkout source uses: actions/checkout@v4 with: persist-credentials: false + - name: Install system dependencies + run: | + sudo apt update + sudo apt install -y qemu-system-x86 ovmf + - name: Setup Python uses: actions/setup-python@v4 with: