From cdea9eba8c640084cd0ce2ba4287858e665fa4fa Mon Sep 17 00:00:00 2001 From: Conrad Kramer Date: Thu, 25 May 2023 00:05:07 -0400 Subject: [PATCH] Run apt-get update in CI This fixes a build failure caused by an outdated package cache. --- .github/workflows/build-rust.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-rust.yml b/.github/workflows/build-rust.yml index c767eca..66c389c 100644 --- a/.github/workflows/build-rust.yml +++ b/.github/workflows/build-rust.yml @@ -1,7 +1,7 @@ name: Rust Build on: push: - branches: + branches: - main pull_request: branches: @@ -48,7 +48,9 @@ jobs: - name: Install Packages if: matrix.os == 'ubuntu-latest' shell: bash - run: sudo apt-get install -y ${{ join(matrix.packages, ' ') }} + run: | + sudo apt-get update + sudo apt-get install -y ${{ join(matrix.packages, ' ') }} - name: Install Rust uses: dtolnay/rust-toolchain@stable with: