File tree Expand file tree Collapse file tree 4 files changed +6
-10
lines changed Expand file tree Collapse file tree 4 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 1
1
module github.com/neo4j/neo4j-go-driver/v5
2
2
3
- go 1.18
3
+ go 1.23
Original file line number Diff line number Diff line change @@ -14,12 +14,8 @@ verlt() {
14
14
15
15
go_version=$( go version | grep -o " go\([0-9.]\)\+" | grep -o " \([0-9.]\)\+" )
16
16
staticcheck_version=" latest"
17
- if verlt $go_version " 1.19" ; then # go 1.18 and below
18
- staticcheck_version=" v0.3.3"
19
- elif verlt $go_version " 1.20" ; then # go 1.19 and below
20
- staticcheck_version=" v0.4.7"
21
- elif verlt $go_version " 1.22.1" ; then
22
- staticcheck_version=" v0.4.7"
17
+ if verlt $go_version " 1.23.0" ; then # go 1.18 and below
18
+ >&2 echo " Project requires go1.23 or newer"
23
19
fi
24
20
25
21
echo " # pre-commit hook"
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:20.04
2
2
3
- ARG go_version_min=1.18
4
- ARG go_version_default=1.23.4
3
+ ARG go_version_min=1.23.11
4
+ ARG go_version_default=1.23.5
5
5
6
6
# Install all needed to build and run tests
7
7
# Install tzdata to make sure Go timezone info works correctly (need noninteractive to avoid
Original file line number Diff line number Diff line change 48
48
49
49
print ("Install staticcheck" , flush = True )
50
50
run_go (
51
- ["install" , "honnef.co/go/tools/cmd/staticcheck@v0.3.3 " ],
51
+ ["install" , "honnef.co/go/tools/cmd/staticcheck@v0.6.0 " ],
52
52
go_bin = go_bin ,
53
53
env = defaultEnv
54
54
)
You can’t perform that action at this time.
0 commit comments