From 56688fbd7665211c35bbdda2284b75fd549a84c8 Mon Sep 17 00:00:00 2001 From: "A. Renz" Date: Thu, 11 Dec 2025 14:51:21 +0100 Subject: [PATCH] ci: use shallow clone (fetch-depth: 1) for faster checkout --- .gitea/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 87f3347..ba80a84 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -32,6 +32,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + fetch-depth: 1 - name: Cache Go modules uses: actions/cache@v4 @@ -101,6 +103,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + fetch-depth: 1 - name: Cache Go modules uses: actions/cache@v4 @@ -136,6 +140,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + fetch-depth: 1 - name: Cache Go modules uses: actions/cache@v4 @@ -181,6 +187,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + fetch-depth: 1 - name: Install Syft run: | @@ -216,6 +224,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + fetch-depth: 1 with: fetch-depth: 0 @@ -258,6 +268,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + fetch-depth: 1 - name: Set up Docker Buildx run: |