From cdbf4d21da74245682ae3e01037a08b4c2f63d12 Mon Sep 17 00:00:00 2001 From: dizi Date: Thu, 24 Sep 2026 10:22:41 +0300 Subject: [PATCH] fix: disable incompatible setup-go cache --- .gitea/workflows/ci.yml | 6 +++--- .gitea/workflows/deploy.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 5a2e177..e6db7b8 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version-file: go.mod - cache: true + cache: false - uses: actions/setup-python@v5 with: @@ -76,8 +76,8 @@ jobs: - name: Container logs if: failure() - run: if [ -f compose.yaml ]; then docker compose logs --no-color --tail=200; fi + run: if [ -f .env ]; then docker compose logs --no-color --tail=200; fi - name: Stop local stack if: always() - run: if [ -f compose.yaml ]; then docker compose --profile tests down -v --remove-orphans; fi + run: if [ -f .env ]; then docker compose --profile tests down -v --remove-orphans; fi diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 87735e5..a44870f 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -27,7 +27,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version-file: go.mod - cache: true + cache: false - uses: actions/setup-python@v5 with: @@ -61,7 +61,7 @@ jobs: - name: Stop release stack if: always() - run: if [ -f compose.yaml ]; then docker compose --profile tests down -v --remove-orphans; fi + run: if [ -f .env ]; then docker compose --profile tests down -v --remove-orphans; fi - name: Configure SSH run: |