ci: fix apt-get update missing before git install in checkout steps
Some checks failed
Test / rust-fmt-check (push) Successful in 33s
Test / rust-clippy (push) Failing after 2m35s
Test / rust-tests (push) Successful in 3m23s
Test / frontend-tests (push) Successful in 46s
Test / frontend-typecheck (push) Failing after 2m14s

rust:1.88-slim has an empty package cache. apt-get install git
was failing with 'Unable to locate package git'.
Add apt-get update -qq before every apt-get install in checkout steps.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Shaun Arman 2026-03-29 16:07:17 -05:00
parent 0577e136cd
commit 02787361c8
2 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ jobs:
steps:
- name: Checkout
run: |
apt-get install -y -qq git
apt-get update -qq && apt-get install -y -qq git
git init
git remote add origin http://172.0.0.29:3000/sarman/tftsr-devops_investigation.git
git fetch --depth=1 origin $GITHUB_SHA
@ -60,7 +60,7 @@ jobs:
steps:
- name: Checkout
run: |
apt-get install -y -qq git
apt-get update -qq && apt-get install -y -qq git
git init
git remote add origin http://172.0.0.29:3000/sarman/tftsr-devops_investigation.git
git fetch --depth=1 origin $GITHUB_SHA
@ -107,7 +107,7 @@ jobs:
steps:
- name: Checkout
run: |
apt-get install -y -qq git
apt-get update -qq && apt-get install -y -qq git
git init
git remote add origin http://172.0.0.29:3000/sarman/tftsr-devops_investigation.git
git fetch --depth=1 origin $GITHUB_SHA

View File

@ -10,7 +10,7 @@ jobs:
steps:
- name: Checkout
run: |
apt-get install -y -qq git
apt-get update -qq && apt-get install -y -qq git
git init
git remote add origin http://172.0.0.29:3000/sarman/tftsr-devops_investigation.git
git fetch --depth=1 origin $GITHUB_SHA
@ -25,7 +25,7 @@ jobs:
steps:
- name: Checkout
run: |
apt-get install -y -qq git
apt-get update -qq && apt-get install -y -qq git
git init
git remote add origin http://172.0.0.29:3000/sarman/tftsr-devops_investigation.git
git fetch --depth=1 origin $GITHUB_SHA
@ -41,7 +41,7 @@ jobs:
steps:
- name: Checkout
run: |
apt-get install -y -qq git
apt-get update -qq && apt-get install -y -qq git
git init
git remote add origin http://172.0.0.29:3000/sarman/tftsr-devops_investigation.git
git fetch --depth=1 origin $GITHUB_SHA