Parcourir la source

add 'apt update' to validation action, as prior runs have started failing due to a stale package cache

Lennon Day Reynolds il y a 1 mois
Parent
commit
6667c57e89
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      .github/workflows/validate.yml

+ 1 - 1
.github/workflows/validate.yml

@@ -39,7 +39,7 @@ jobs:
         CXX: 'g++'
         BRANCH: ${{  github.ref_name }}
       run: |
-        sudo apt install -y valgrind xmlstarlet gcovr iperf3 tree
+        sudo apt update && sudo apt install -y valgrind xmlstarlet gcovr iperf3 tree
         make one ZT_COVERAGE=1 ZT_TRACE=1
         sudo chmod +x ./.github/workflows/validate-linux.sh
         sudo ./.github/workflows/validate-linux.sh