Files
byd-exporter/.gitea/workflows/test.yml
T
thistineandClaude Opus 5 27591e9a68
Test / test (push) Failing after 19m56s
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 <[email protected]>
2026-09-05 22:09:08 +07:00

22 lines
487 B
YAML

name: Test
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- 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 ./...
- run: go test -race -cover ./...