fix: update staticcheck CI with Go 1.27.2 support

The latest staticcheck now fixes the format change issue. This
change re-enables the stable build version.
This commit is contained in:
Ben McClelland
2026-10-13 16:10:23 -07:00
parent ca4c8d30f5
commit 81e287fc74
+2 -8
View File
@@ -16,16 +16,10 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v7
with:
# Go 1.27.2 bumped the export data format to version 5, which
# staticcheck 2026.2.1 cannot decode. Go back to 'stable' (and drop
# install-go below) once a staticcheck release fixes
# https://github.com/dominikh/go-tools/issues/1832
go-version: '1.27.1'
go-version: 'stable'
id: go
- name: "staticcheck"
uses: dominikh/staticcheck-action@v1
with:
version: "latest"
# the action otherwise installs Go 'stable' over the version above
install-go: false