ci: fix test by removing -mod=readonly and adding go mod tidy
Build & Push Workflows Image / build-push (push) Failing after 1m9s
ci / test (push) Failing after 2m48s

This commit is contained in:
Test
2026-09-05 14:16:53 -07:00
parent a416566e40
commit 84162d4d4a
+4 -2
View File
@@ -9,10 +9,9 @@ jobs:
test:
runs-on: golang
container:
image: golang:1.25
image: golang:1.21
env:
GOPRIVATE: forgejo.riotpiao.com
GOFLAGS: -mod=readonly
GITHUB_TOKEN: ${{ secrets.REGISTRY_PAT }}
steps:
- name: Configure git authentication
@@ -31,6 +30,9 @@ jobs:
- name: Download dependencies
run: go mod download
- name: Tidy modules
run: go mod tidy
- name: Test
run: go test -v ./...