Run "apt update" before "apt install".

pull/13171/head
Joshua Haberman 3 years ago
parent dbd5dbed46
commit 283451a9f3
  1. 2
      .github/workflows/bazel_tests.yml

@ -32,7 +32,7 @@ jobs:
- name: Setup Python venv
run: rm -rf /tmp/venv && python3 -m venv /tmp/venv
- name: Install dependencies
run: sudo apt install -y ${{ matrix.install }}
run: sudo apt update && sudo apt install -y ${{ matrix.install }}
if: matrix.install != ''
- name: Run tests
run: cd ${{ github.workspace }} && PATH=/tmp/venv/bin:$PATH CC=${{ matrix.CC }} bazel test --test_output=errors ... ${{ matrix.flags }}

Loading…
Cancel
Save