commit 09cfb3f9ae84c83027221f1bfaeffdc302ed9d54
parent ad9d7978a7ebd76c5175bff1b57f70540c78cd69
Author: William Casarin <jb55@jb55.com>
Date: Wed, 4 Feb 2026 13:44:58 -0800
ci: add apt-get update before installing deps
Fixes 404 errors when Ubuntu package versions change on mirrors.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
@@ -16,7 +16,9 @@ jobs:
steps:
- name: Deps
- run: sudo apt-get install libfontconfig1-dev libfreetype6-dev libssl-dev
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y libfontconfig1-dev libfreetype6-dev libssl-dev
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose