Skip to content

Commit

Permalink
CI: update apt repositories
Browse files Browse the repository at this point in the history
Update the package repositories before installing new software.
Without this CI will run into occasinal 404s when downloading
qemu.

Signed-off-by: Lorenz Bauer <[email protected]>
  • Loading branch information
lmb committed Oct 2, 2023
1 parent 0eafd16 commit 7333aa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:

- run: go install gotest.tools/[email protected]
- run: sudo pip3 install https://github.com/amluto/virtme/archive/beb85146cd91de37ae455eccb6ab67c393e6e290.zip
- run: sudo apt-get install -y --no-install-recommends qemu-system-x86
- run: sudo apt-get update && sudo apt-get install -y --no-install-recommends qemu-system-x86

- name: Test
run: gotestsum --raw-command --ignore-non-json-output-lines --junitfile junit.xml -- ./run-tests.sh $CI_MAX_KERNEL_VERSION -short -count 1 -json ./...
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:

- run: go install gotest.tools/[email protected]
- run: sudo pip3 install https://github.com/amluto/virtme/archive/beb85146cd91de37ae455eccb6ab67c393e6e290.zip
- run: sudo apt-get install -y --no-install-recommends qemu-system-x86
- run: sudo apt-get update && sudo apt-get install -y --no-install-recommends qemu-system-x86

- name: Test
run: gotestsum --raw-command --ignore-non-json-output-lines --junitfile junit.xml -- ./run-tests.sh $KERNEL_VERSION -short -count 1 -json ./...
Expand Down

0 comments on commit 7333aa6

Please sign in to comment.