Skip to content

Commit

Permalink
chore: bump minimal compile version of GO to 1.19 (#924)
Browse files Browse the repository at this point in the history
* chore: bump Go to 1.19 in modules

* chore: bump Go to 1.19 in CI workflows
  • Loading branch information
mdelapenya authored Mar 7, 2023
1 parent b56e66a commit f565bd9
Show file tree
Hide file tree
Showing 38 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bigtable-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-bigtable:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
runs-on: "ubuntu-latest"
steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
platform: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cockroachdb-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-cockroachdb:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
runs-on: "ubuntu-latest"
steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/consul-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-consul:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
runs-on: "ubuntu-latest"
steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/datastore-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-datastore:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
runs-on: "ubuntu-latest"
steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firestore-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-firestore:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
runs-on: "ubuntu-latest"
steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/module-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
test-compose:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
runs-on: "ubuntu-latest"
steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/module-localstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-localstack:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
runs-on: "ubuntu-latest"
steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/module-pulsar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-pulsar:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
runs-on: "ubuntu-latest"
steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mongodb-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-mongodb:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
runs-on: "ubuntu-latest"
steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mysql-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-mysql:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
runs-on: "ubuntu-latest"
steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nginx-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-nginx:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
runs-on: "ubuntu-latest"
steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/postgres-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-postgres:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
runs-on: "ubuntu-latest"
steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pubsub-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-pubsub:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
runs-on: "ubuntu-latest"
steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/redis-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-redis:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
runs-on: "ubuntu-latest"
steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spanner-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-spanner:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
runs-on: "ubuntu-latest"
steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/toxiproxy-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-toxiproxy:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
runs-on: "ubuntu-latest"
steps:

Expand Down
2 changes: 1 addition & 1 deletion examples/bigtable/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go/examples/bigtable

go 1.18
go 1.19

require (
cloud.google.com/go/bigtable v1.18.1
Expand Down
2 changes: 1 addition & 1 deletion examples/cockroachdb/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go/examples/cockroachdb

go 1.18
go 1.19

require (
github.com/google/uuid v1.3.0
Expand Down
2 changes: 1 addition & 1 deletion examples/consul/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go/examples/consul

go 1.18
go 1.19

require (
github.com/hashicorp/consul/api v1.19.1
Expand Down
2 changes: 1 addition & 1 deletion examples/datastore/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go/examples/datastore

go 1.18
go 1.19

require (
cloud.google.com/go/datastore v1.10.0
Expand Down
2 changes: 1 addition & 1 deletion examples/firestore/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go/examples/firestore

go 1.18
go 1.19

require (
cloud.google.com/go/firestore v1.9.0
Expand Down
2 changes: 1 addition & 1 deletion examples/mongodb/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go/examples/mongodb

go 1.18
go 1.19

require (
github.com/testcontainers/testcontainers-go v0.18.0
Expand Down
2 changes: 1 addition & 1 deletion examples/mysql/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go/examples/mysql

go 1.18
go 1.19

require (
github.com/go-sql-driver/mysql v1.7.0
Expand Down
2 changes: 1 addition & 1 deletion examples/nginx/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go/examples/nginx

go 1.18
go 1.19

require (
github.com/testcontainers/testcontainers-go v0.18.0
Expand Down
2 changes: 1 addition & 1 deletion examples/postgres/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go/examples/postgres

go 1.18
go 1.19

require (
github.com/docker/go-connections v0.4.0
Expand Down
2 changes: 1 addition & 1 deletion examples/pubsub/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go/examples/pubsub

go 1.18
go 1.19

require (
cloud.google.com/go/pubsub v1.28.0
Expand Down
2 changes: 1 addition & 1 deletion examples/redis/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go/examples/redis

go 1.18
go 1.19

require (
github.com/go-redis/redis/v8 v8.11.5
Expand Down
2 changes: 1 addition & 1 deletion examples/spanner/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go/examples/spanner

go 1.18
go 1.19

require (
cloud.google.com/go/spanner v1.44.0
Expand Down
2 changes: 1 addition & 1 deletion examples/toxiproxy/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go/examples/toxiproxy

go 1.18
go 1.19

require (
github.com/Shopify/toxiproxy/v2 v2.5.0
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go

go 1.18
go 1.19

require (
github.com/cenkalti/backoff/v4 v4.2.0
Expand Down
2 changes: 1 addition & 1 deletion modulegen/_template/ci.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-{{ $lower }}:
strategy:
matrix:
go-version: [1.18.x, 1.x]
go-version: [1.19.x, 1.x]
runs-on: "ubuntu-latest"
steps:

Expand Down
2 changes: 1 addition & 1 deletion modulegen/_template/go.mod.tmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ $lower := ToLower }}module github.com/testcontainers/testcontainers-go/{{ ParentDir }}/{{ $lower }}

go 1.18
go 1.19

require (
github.com/testcontainers/testcontainers-go {{ .TCVersion }}
Expand Down
2 changes: 1 addition & 1 deletion modulegen/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go/modulegen

go 1.18
go 1.19

require (
github.com/stretchr/testify v1.8.2
Expand Down
2 changes: 1 addition & 1 deletion modules/compose/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go/modules/compose

go 1.18
go 1.19

replace (
github.com/cucumber/godog => github.com/laurazard/godog v0.0.0-20220922095256-4c4b17abdae7
Expand Down
2 changes: 1 addition & 1 deletion modules/localstack/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go/modules/localstack

go 1.18
go 1.19

require (
github.com/aws/aws-sdk-go v1.44.211
Expand Down
2 changes: 1 addition & 1 deletion modules/pulsar/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/testcontainers-go/modules/pulsar

go 1.18
go 1.19

require (
github.com/apache/pulsar-client-go v0.9.0
Expand Down
2 changes: 1 addition & 1 deletion wait/testdata/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module httptest

go 1.18
go 1.19

0 comments on commit f565bd9

Please sign in to comment.