Jelajahi Sumber

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

Lennon Day Reynolds 1 bulan lalu
induk
melakukan
6667c57e89
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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