Run apt-get update in CI

This fixes a build failure caused by an outdated package cache.
This commit is contained in:
Conrad Kramer 2023-05-25 00:05:07 -04:00
parent 727798a7da
commit cdea9eba8c

View file

@ -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: