Skip to content

Commit dc99892

Browse files
committed
create Go 1.19 compilecheck
Go 1.19 is the current minimum supporter Go version set go toolchain to auto to allow proper version to be downloaded for build
1 parent ce0bb58 commit dc99892

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Taskfile.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,19 @@ tasks:
1717
- go build ./...
1818
- go build ${BUILD_TAGS} ./...
1919
- task: build-tests
20-
- task: build-compile-check-all
20+
- task: compilecheck-119
2121
- task: cross-compile
2222
build-tests: go test -short ${BUILD_TAGS} -run ^$$ ./...
23-
build-compile-check: bash etc/compile_check.sh
23+
compilecheck-119:
24+
dir: internal/test/compilecheck
25+
env:
26+
GOWORK: off
27+
GOTOOLCHAIN: auto
28+
GO_VERSIONS: "1.19"
29+
COMPILECHECK_USE_DOCKER: "0"
30+
cmds:
31+
- go mod download
32+
- go test -v -run '^TestCompileCheck/golang:1\.19$'
2433
build-compile-check-all: bash etc/run-compile-check-test.sh
2534
build-aws-ecs-test: go test -c ./internal/test/aws -o aws.testbin
2635
cross-compile:

0 commit comments

Comments
 (0)