Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 209079cf68 |
@@ -18,7 +18,11 @@ jobs:
|
|||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GO_VERSION }}
|
go-version: ${{ env.GO_VERSION }}
|
||||||
cache-dependency-path: go.sum
|
# setup-go caches by default, and this runner's built-in cache server
|
||||||
|
# is unreachable from job containers -- every restore and save hangs
|
||||||
|
# until it times out, which cost 634s of a 946s build. Re-enable once
|
||||||
|
# act_runner's cache.host points somewhere job containers can route.
|
||||||
|
cache: false
|
||||||
|
|
||||||
- name: Format
|
- name: Format
|
||||||
run: test -z "$(gofmt -l .)" || { gofmt -l .; echo "run gofmt -w ."; exit 1; }
|
run: test -z "$(gofmt -l .)" || { gofmt -l .; echo "run gofmt -w ."; exit 1; }
|
||||||
|
|||||||
@@ -17,6 +17,9 @@ jobs:
|
|||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "1.25.x"
|
go-version: "1.25.x"
|
||||||
|
# See build.yml: the runner's cache server is unreachable from job
|
||||||
|
# containers, so caching costs minutes of timeouts instead of saving.
|
||||||
|
cache: false
|
||||||
|
|
||||||
- uses: goreleaser/goreleaser-action@v6
|
- uses: goreleaser/goreleaser-action@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user