From 7fe0b23893fb493388633760f397f5f753a587c7 Mon Sep 17 00:00:00 2001 From: Leo Antoli <430982+lantoli@users.noreply.github.com> Date: Tue, 31 Oct 2023 16:51:31 +0100 Subject: [PATCH 1/2] create .tool-versions for Go 1.18 --- .tool-versions | 1 + 1 file changed, 1 insertion(+) create mode 100644 .tool-versions diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 00000000..4933a41e --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +golang 1.18 From eafed57bce785f08c71c0f6e09c226b9de580334 Mon Sep 17 00:00:00 2001 From: Leo Antoli <430982+lantoli@users.noreply.github.com> Date: Tue, 31 Oct 2023 17:11:39 +0100 Subject: [PATCH 2/2] upgrade to Go 1.20 --- .github/workflows/release-check.yml | 2 +- .tool-versions | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-check.yml b/.github/workflows/release-check.yml index 2d182099..f812b6ea 100644 --- a/.github/workflows/release-check.yml +++ b/.github/workflows/release-check.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: golang: - - 1.18 + - 1.20 steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.tool-versions b/.tool-versions index 4933a41e..f3ab9141 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -golang 1.18 +golang 1.20 diff --git a/go.mod b/go.mod index 24d60366..aaa8a3fd 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module go.mongodb.org/atlas -go 1.18 +go 1.20 require ( github.com/go-test/deep v1.1.0