Bump Go to 1.27.0 (#14)
CI / vulncheck (push) Successful in 8s
CI / check-and-test (push) Successful in 35s

This commit was merged in pull request #14.
This commit is contained in:
s1d3sw1ped_bot
2026-08-31 20:04:49 -05:00
parent 81b3a7df53
commit 2a2cd8d393
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -12,14 +12,14 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-go@v5 - uses: actions/setup-go@v5
with: with:
go-version: '1.26.7' go-version-file: 'go.mod'
- run: go mod tidy - run: go mod tidy
- run: go build ./... - run: go build ./...
- run: go vet ./... - run: go vet ./...
- name: golangci-lint - name: golangci-lint
uses: golangci/golangci-lint-action@v8 uses: golangci/golangci-lint-action@v8
with: with:
version: v2.12 version: v2.13.2
args: --timeout=5m args: --timeout=5m
- run: go test -race -v -shuffle=on -coverprofile=coverage.out -timeout=5m ./... - run: go test -race -v -shuffle=on -coverprofile=coverage.out -timeout=5m ./...
- run: go tool cover -func=coverage.out | tail -10 # basic coverage report - run: go tool cover -func=coverage.out | tail -10 # basic coverage report
@@ -30,6 +30,6 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-go@v5 - uses: actions/setup-go@v5
with: with:
go-version: '1.27.0' go-version-file: 'go.mod'
- run: go install golang.org/x/vuln/cmd/govulncheck@latest - run: go install golang.org/x/vuln/cmd/govulncheck@latest
- run: govulncheck ./... - run: govulncheck ./...
+1 -1
View File
@@ -1,6 +1,6 @@
module s1d3sw1ped/steamcache2 module s1d3sw1ped/steamcache2
go 1.26.0 go 1.27.0
require ( require (
github.com/docker/go-units v0.5.0 github.com/docker/go-units v0.5.0
+1 -1
View File
@@ -357,7 +357,7 @@ func newHTTPTransport() *http.Transport {
DialContext: (&net.Dialer{ DialContext: (&net.Dialer{
Timeout: 10 * time.Second, // Faster connection timeout Timeout: 10 * time.Second, // Faster connection timeout
KeepAlive: 60 * time.Second, // Longer keep-alive KeepAlive: 60 * time.Second, // Longer keep-alive
DualStack: true, // Enable dual-stack (IPv4/IPv6) // Dual-stack Happy Eyeballs is the default since Go 1.12 (DualStack is deprecated).
}).DialContext, }).DialContext,
// Timeout optimizations // Timeout optimizations