@@ -39,8 +39,8 @@ local task_build_go(version, arch) = {
39
39
{ type: 'run' , command: 'make' },
40
40
{ type: 'save_cache' , key: 'cache-sum-{{ md5sum "go.sum" }}' , contents: [{ source_dir: '/go/pkg/mod/cache' }] },
41
41
{ type: 'save_cache' , key: 'cache-date-{{ year }}-{{ month }}-{{ day }}' , contents: [{ source_dir: '/go/pkg/mod/cache' }] },
42
- { type: 'run' , name: 'install golangci-lint' , command: 'curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2 ' },
43
- { type: 'run' , command: 'golangci-lint run --deadline 5m ' },
42
+ { type: 'run' , name: 'install golangci-lint' , command: 'curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.61.0 ' },
43
+ { type: 'run' , command: 'golangci-lint run --timeout 10m ' },
44
44
{ type: 'run' , name: 'build docker/k8s drivers tests binary' , command: 'CGO_ENABLED=0 go test -c ./internal/services/executor/driver -o ./bin/docker-tests' },
45
45
{ type: 'run' , name: 'build integration tests binary' , command: 'go test -tags "sqlite_unlock_notify" -c ./tests -o ./bin/integration-tests' },
46
46
{ type: 'run' , name: 'run tests (sqlite3)' ,
@@ -128,7 +128,7 @@ local task_build_push_images(name, target, push) =
128
128
[
129
129
task_build_go(version, arch),
130
130
]
131
- for version in ['1.21 ' , '1.22 ' ]
131
+ for version in ['1.22 ' , '1.23 ' ]
132
132
for arch in ['amd64' /*, 'arm64' */ ]
133
133
]) + [
134
134
{
@@ -139,7 +139,7 @@ local task_build_push_images(name, target, push) =
139
139
{ type: 'run' , command: 'SKIP_K8S_TESTS=1 AGOLA_TOOLBOX_PATH="./bin" ./bin/docker-tests -test.parallel 5 -test.v' },
140
140
],
141
141
depends: [
142
- 'build go 1.22 amd64' ,
142
+ 'build go 1.23 amd64' ,
143
143
],
144
144
},
145
145
{
@@ -162,7 +162,7 @@ local task_build_push_images(name, target, push) =
162
162
{ type: 'run' , name: 'integration tests' , command: 'AGOLA_BIN_DIR="./bin" GITEA_PATH=${PWD}/bin/gitea DOCKER_BRIDGE_ADDRESS="172.18.0.1" ./bin/integration-tests -test.parallel 3 -test.v' },
163
163
],
164
164
depends: [
165
- 'build go 1.22 amd64' ,
165
+ 'build go 1.23 amd64' ,
166
166
],
167
167
},
168
168
{
0 commit comments