From a55bac60f3dd34581ebb17151f26b3ca110d6234 Mon Sep 17 00:00:00 2001 From: Echo Date: Fri, 24 Apr 2026 15:14:27 +0000 Subject: [PATCH] ci: Add curl install before checkout in all quality gate jobs - rust-format job failed because curl was not available for checkout - Added 'Install checkout dependencies' step (curl, ca-certificates) to all jobs - Fixed duplicate steps block in rust-test job --- .gitea/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 063b3eb..56a9e81 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -18,6 +18,11 @@ jobs: name: Rust Format Check runs-on: linux steps: + - name: Install checkout dependencies + run: | + sudo apt-get update -qq + sudo apt-get install -y --no-install-recommends curl ca-certificates + - name: Checkout repository run: | TOKEN="${GITHUB_TOKEN:-$GITEA_TOKEN}" @@ -47,6 +52,11 @@ jobs: name: Clippy Lints runs-on: linux steps: + - name: Install checkout dependencies + run: | + sudo apt-get update -qq + sudo apt-get install -y --no-install-recommends curl ca-certificates + - name: Checkout repository run: | TOKEN="${GITHUB_TOKEN:-$GITEA_TOKEN}" @@ -90,6 +100,11 @@ jobs: name: Rust Unit Tests runs-on: linux steps: + - name: Install checkout dependencies + run: | + sudo apt-get update -qq + sudo apt-get install -y --no-install-recommends curl ca-certificates + - name: Checkout repository run: | TOKEN="${GITHUB_TOKEN:-$GITEA_TOKEN}" @@ -122,6 +137,11 @@ jobs: name: Security Audit runs-on: linux steps: + - name: Install checkout dependencies + run: | + sudo apt-get update -qq + sudo apt-get install -y --no-install-recommends curl ca-certificates + - name: Checkout repository run: | TOKEN="${GITHUB_TOKEN:-$GITEA_TOKEN}" @@ -153,6 +173,11 @@ jobs: name: Frontend Lint & Type Check runs-on: linux steps: + - name: Install checkout dependencies + run: | + sudo apt-get update -qq + sudo apt-get install -y --no-install-recommends curl ca-certificates + - name: Checkout repository run: | TOKEN="${GITHUB_TOKEN:-$GITEA_TOKEN}"