Skip to content

Commit 2a9af73

Browse files
authored
_scripts: update staticcheck version (#3839)
Update version of staticcheck and reenable for go1.23
1 parent bef326c commit 2a9af73

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

_scripts/test_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export GOPATH
5454
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
5555
go version
5656
if [ "$arch" != "ppc64le" ]; then
57-
go install honnef.co/go/tools/cmd/staticcheck@2023.1.6 || true
57+
go install honnef.co/go/tools/cmd/staticcheck@2024.1.1 || true
5858
fi
5959

6060
uname -a

cmd/dlv/dlv_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,9 +1410,6 @@ func TestVersion(t *testing.T) {
14101410
}
14111411

14121412
func TestStaticcheck(t *testing.T) {
1413-
if goversion.VersionAfterOrEqual(runtime.Version(), 1, 23) {
1414-
t.Skip("staticcheck does not support go1.23 yet")
1415-
}
14161413
_, err := exec.LookPath("staticcheck")
14171414
if err != nil {
14181415
t.Skip("staticcheck not installed")

0 commit comments

Comments
 (0)