From 2a2cd8d3939d1fb7d71a91b356b00fead7ab435f Mon Sep 17 00:00:00 2001 From: s1d3sw1ped_bot <12+s1d3sw1ped_bot@git.s1d3sw1ped.com> Date: Mon, 31 Aug 2026 20:04:49 -0500 Subject: [PATCH] Bump Go to 1.27.0 (#14) --- .gitea/workflows/test-pr.yaml | 6 +++--- go.mod | 2 +- steamcache/steamcache.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/test-pr.yaml b/.gitea/workflows/test-pr.yaml index 2431599..bb925aa 100644 --- a/.gitea/workflows/test-pr.yaml +++ b/.gitea/workflows/test-pr.yaml @@ -12,14 +12,14 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.26.7' + go-version-file: 'go.mod' - run: go mod tidy - run: go build ./... - run: go vet ./... - name: golangci-lint uses: golangci/golangci-lint-action@v8 with: - version: v2.12 + version: v2.13.2 args: --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 @@ -30,6 +30,6 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.27.0' + go-version-file: 'go.mod' - run: go install golang.org/x/vuln/cmd/govulncheck@latest - run: govulncheck ./... diff --git a/go.mod b/go.mod index 8c20542..6d1b8bc 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module s1d3sw1ped/steamcache2 -go 1.26.0 +go 1.27.0 require ( github.com/docker/go-units v0.5.0 diff --git a/steamcache/steamcache.go b/steamcache/steamcache.go index fc943a3..7dea73e 100644 --- a/steamcache/steamcache.go +++ b/steamcache/steamcache.go @@ -357,7 +357,7 @@ func newHTTPTransport() *http.Transport { DialContext: (&net.Dialer{ Timeout: 10 * time.Second, // Faster connection timeout 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, // Timeout optimizations