diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 4dd59e20..dd8cf890 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -146,5 +146,15 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v8 with: - version: v2.12.2 + # v2.13.1 bundles staticcheck (honnef.co/go/tools) v0.8.0, the first + # release that understands Go 1.27 stdlib source; v2.12.2's v0.7.0 + # panics in its IR builder analyzing 1.27 packages. Keep in sync with + # GOLANGCI_LINT_VERSION in the Makefile. + version: v2.13.1 + # Build the linter from source under the module's Go toolchain + # (1.27) instead of downloading the prebuilt binary, which is built + # with an older Go and refuses to lint a module targeting a newer + # one ("the Go language version used to build golangci-lint is lower + # than the targeted Go version"). Matches `make lint`. + install-mode: goinstall only-new-issues: true diff --git a/Makefile b/Makefile index 5a3ffb08..dfb2e5ff 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ dashboard: cd web/dashboard && npm ci && npm run build # Keep in sync with the pinned version in .github/workflows/go.yml. -GOLANGCI_LINT_VERSION ?= v2.12.2 +GOLANGCI_LINT_VERSION ?= v2.13.1 .PHONY: install-golangci-lint install-golangci-lint: diff --git a/go.mod b/go.mod index 95db64a6..01588f6a 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( github.com/asottile/dockerfile v3.1.0+incompatible github.com/blang/semver v3.5.1+incompatible github.com/briandowns/spinner v1.23.2 - github.com/codefly-dev/core v0.3.6 + github.com/codefly-dev/core v0.3.8 github.com/codefly-dev/golor v0.1.3 github.com/codefly-dev/llm v0.1.7 github.com/codefly-dev/sdk-go v0.1.65 diff --git a/go.sum b/go.sum index de6023ba..ff27239d 100644 --- a/go.sum +++ b/go.sum @@ -95,8 +95,8 @@ github.com/clipperhouse/uax29/v2 v2.7.0 h1:+gs4oBZ2gPfVrKPthwbMzWZDaAFPGYK72F0NJ github.com/clipperhouse/uax29/v2 v2.7.0/go.mod h1:EFJ2TJMRUaplDxHKj1qAEhCtQPW2tJSwu5BF98AuoVM= github.com/cloudflare/circl v1.6.5 h1:O64F26HEqNhznd/hrC5KZXVKYuKM2rx4deZDTc4ihQA= github.com/cloudflare/circl v1.6.5/go.mod h1:h5LNyxAc5nTue9DS5jT+48en2PSDYt3zdGnz5OstK6c= -github.com/codefly-dev/core v0.3.6 h1:lt5EyL+uS1Z6Vzg+V/HhpnIV43Lu5rN9E0k+ZslIKHk= -github.com/codefly-dev/core v0.3.6/go.mod h1:ca5IAJnFJSC3OPl5DcoRIi41BMfO0As8BaDGciYZ7nI= +github.com/codefly-dev/core v0.3.8 h1:iqXrad1zwpX1CzAKr53TeuYLWHV8B5QkhHVV6unb9Os= +github.com/codefly-dev/core v0.3.8/go.mod h1:4V8BP4F5mnRDZvylhC9P5N7rfifpAma5n3dW4YD+gtQ= github.com/codefly-dev/golor v0.1.3 h1:xmo+ceyJFRYZdvpWE2fNd0jeaadp/Ibm1BnganiGKOc= github.com/codefly-dev/golor v0.1.3/go.mod h1:sl/u/K1l7J0Pr3xyVZp8fOJYQItKKst1No9JqgzLLoY= github.com/codefly-dev/gortk v0.2.0 h1:7bOlS5valYz2zil+fZctQNcPCYBcPj86abcw9N8h1hQ=