Test / test (push) Failing after 19m56s
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]>
22 lines
487 B
YAML
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 ./...
|