Skip to content

chore: bump Go version to 1.21#2292

Merged
mdelapenya merged 7 commits intotestcontainers:mainfrom
mdelapenya:bump-go-1.21
Mar 1, 2024
Merged

chore: bump Go version to 1.21#2292
mdelapenya merged 7 commits intotestcontainers:mainfrom
mdelapenya:bump-go-1.21

Conversation

@mdelapenya
Copy link
Copy Markdown
Member

  • fix: update misleading comment
  • chore: bump Go version to 1.21 using script
  • chore: remove exclusion for compose in Go 1.20
  • chore: Go versions in CI matrix
  • chore: bump more Go versions in markdown
  • chore: run mod tidy

What does this PR do?

It updates the bump-go script to modify more files, applying the changes to the codebase.

It also runs mod tidy across all modules.

Why is it important?

Go 1.20 reached EOL in Feb 6th, so it's time to start using the min supported version, which is 1.21. The CI will use 1.22 as Go 1.x

Related issues

@mdelapenya mdelapenya requested a review from a team as a code owner March 1, 2024 12:05
@mdelapenya mdelapenya added the chore Changes that do not impact the existing functionality label Mar 1, 2024
@mdelapenya mdelapenya self-assigned this Mar 1, 2024
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 1, 2024

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit 105d26f
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/65e1c6414fbb810008459cc0
😎 Deploy Preview https://deploy-preview-2292--testcontainers-go.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mdelapenya mdelapenya merged commit 20929ae into testcontainers:main Mar 1, 2024
mdelapenya added a commit to jespino/testcontainers-go that referenced this pull request Mar 1, 2024
* main:
  chore: bump Go version to 1.21 (testcontainers#2292)
  chore(deps): bump github.com/ClickHouse/clickhouse-go/v2 (testcontainers#2226)
  feat: WithLogger ContainerCustomizer support (testcontainers#2259)
  chore(deps): bump github.com/jackc/pgx/v5 in /modules/cockroachdb (testcontainers#2217)
  Move the file and mounts tests into a test package (testcontainers#2270)
  Fix Dockerfile not located when added to dockerignore (testcontainers#2272)
mdelapenya added a commit to mdelapenya/testcontainers-go that referenced this pull request Mar 1, 2024
@mdelapenya mdelapenya deleted the bump-go-1.21 branch September 10, 2024 10:57
ttruongatl pushed a commit to ttruongatl/testcontainers-go that referenced this pull request Feb 15, 2025
* fix: update misleading comment

* chore: bump Go version to 1.21 using script

* chore: remove exclusion for compose in Go 1.20

* chore: Go versions in CI matrix

* chore: bump more Go versions in markdown

* chore: run mod tidy

* fix: update references in tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Changes that do not impact the existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement]: bump Go version to 1.21-1.22

1 participant