From 27591e9a681deea0830c32c4433790026738b8cb Mon Sep 17 00:00:00 2001 From: thistine Date: Sat, 5 Sep 2026 22:09:08 +0700 Subject: [PATCH] ci: disable setup-go module cache The act_runner has no actions/cache backend, so setup-go's cache step hangs indefinitely instead of failing. Co-Authored-By: Claude Opus 5 --- .gitea/workflows/release.yml | 2 ++ .gitea/workflows/test.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index c79753b..f5f78c5 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -18,6 +18,8 @@ jobs: - uses: actions/setup-go@v5 with: go-version: '1.22' + # The runner has no actions/cache backend; leaving this on hangs the step. + cache: false - run: go vet ./... && go test -race ./... build: diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 24e0f5f..49130d3 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -13,6 +13,8 @@ jobs: - uses: actions/setup-go@v5 with: go-version: '1.22' + # The runner has no actions/cache backend; leaving this on hangs the step. + cache: false - name: gofmt run: test -z "$(gofmt -l .)" || { gofmt -l .; exit 1; } - run: go vet ./...