From 02787361c8e2cc068d234f546b44a46c7550f60e Mon Sep 17 00:00:00 2001 From: Shaun Arman Date: Sun, 29 Mar 2026 16:07:17 -0500 Subject: [PATCH] ci: fix apt-get update missing before git install in checkout steps 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) --- .gitea/workflows/release.yml | 6 +++--- .gitea/workflows/test.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 2f54e02c..86e40a44 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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 diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 5d194a22..95b4e892 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -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