Skip to content

Commit

Permalink
Fix test action by checking out source first (#2836)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sairon authored Oct 17, 2023
1 parent 3e36628 commit d4cb408
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d4cb408

Please sign in to comment.