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.
This commit is contained in:
Jan Čermák 2023-10-17 23:43:50 +02:00 committed by GitHub
parent 3e36628c09
commit d4cb408090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: