mirror of
https://github.com/versity/versitygw.git
synced 2026-10-22 06:12:39 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user