diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-07-05 09:57:04 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-07-06 08:56:49 +0300 |
commit | 1bfcfe3eb54c2116915ed1a39a8e2eb8ba809339 (patch) | |
tree | 09a7a518e41b5a38b860cb3edae9dc7a2af20242 | |
parent | 1a1bfa06762f7c80c0a74c99dfc98030a80d36eb (diff) |
ci: Test with Go v1.18
We have recently started to require Go 1.17 and later. Interestingly
enough, our CI has not been updated to use that new version yet. Because
of whatever reason this seems to be fine, and Go doesn't complain about
it when running with v1.16.
Let's fix this regardless and start testing with Go v1.17 and v1.18,
only.
-rw-r--r-- | .gitlab-ci.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ec7dfc187..786ae3200 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,7 @@ variables: DEBIAN_VERSION: "bullseye" # We use Gitaly's Git version by default. GIT_VERSION: "default" - GO_VERSION: "1.17" + GO_VERSION: "1.18" RUBY_VERSION: "2.7" POSTGRES_VERSION: "12.6-alpine" PGBOUNCER_VERSION: "1.16.1" @@ -145,7 +145,7 @@ build: - _support/test-boot . ${TEST_BOOT_ARGS} parallel: matrix: - - GO_VERSION: [ "1.16", "1.17" ] + - GO_VERSION: [ "1.17", "1.18" ] TEST_BOOT_ARGS: "--bundled-git" - GIT_VERSION: "v2.33.0" @@ -170,7 +170,7 @@ build:binaries: expire_in: 6 months parallel: matrix: - - GO_VERSION: [ "1.16", "1.17" ] + - GO_VERSION: [ "1.17", "1.18" ] test: <<: *test_definition @@ -178,7 +178,7 @@ test: matrix: # The following jobs all test with our default Git version, which is # using bundled Git binaries. - - GO_VERSION: [ "1.16", "1.17" ] + - GO_VERSION: [ "1.17", "1.18" ] TEST_TARGET: test - TEST_TARGET: [ test-with-proxies, test-with-praefect, race-go ] # We also verify that things work as expected with a non-bundled Git |