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]>
This commit is contained in:
1 parent
52e1aaa0c0
commit
27591e9a68
2 files changed
+4
No files matched your search
@@ -18,6 +18,8 @@ jobs:
|
|||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.22'
|
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 ./...
|
- run: go vet ./... && go test -race ./...
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ jobs:
|
|||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.22'
|
go-version: '1.22'
|
||||||
|
# The runner has no actions/cache backend; leaving this on hangs the step.
|
||||||
|
cache: false
|
||||||
- name: gofmt
|
- name: gofmt
|
||||||
run: test -z "$(gofmt -l .)" || { gofmt -l .; exit 1; }
|
run: test -z "$(gofmt -l .)" || { gofmt -l .; exit 1; }
|
||||||
- run: go vet ./...
|
- run: go vet ./...
|
||||||
|
|||||||
Reference in new issue
Block a user