Update supported go versions to 1.20 and 1.21
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8b660bb..d9696ad 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -83,8 +83,8 @@
strategy:
matrix:
go:
- - '1.19'
- '1.20'
+ - '1.21'
fail-fast: false
steps:
- uses: actions/checkout@v3
@@ -128,7 +128,7 @@
run: make -C test/go precross
- name: Upload go precross artifacts
- if: matrix.go == '1.20'
+ if: matrix.go == '1.21'
uses: actions/upload-artifact@v3
with:
name: go-precross
diff --git a/LANGUAGES.md b/LANGUAGES.md
index 2f1f4f1..6cb6018 100644
--- a/LANGUAGES.md
+++ b/LANGUAGES.md
@@ -163,7 +163,7 @@
<td align=left><a href="https://github.com/apache/thrift/blob/master/lib/go/README.md">Go</a></td>
<!-- Since -----------------><td>0.7.0</td>
<!-- Build Systems ---------><td><img src="/doc/images/cgrn.png" alt="Yes"/></td><td><img src="/doc/images/cred.png" alt=""/></td>
-<!-- Language Levels -------><td>1.19.5</td><td>1.20</td>
+<!-- Language Levels -------><td>1.20</td><td>1.21</td>
<!-- Field types -----------><td><img src="/doc/images/cred.png" alt=""/></td>
<!-- Low-Level Transports --><td><img src="/doc/images/cred.png" alt=""/></td><td><img src="/doc/images/cred.png" alt=""/></td><td><img src="/doc/images/cgrn.png" alt="Yes"/></td><td><img src="/doc/images/cred.png" alt=""/></td><td><img src="/doc/images/cgrn.png" alt="Yes"/></td><td><img src="/doc/images/cgrn.png" alt="Yes"/></td>
<!-- Transport Wrappers ----><td><img src="/doc/images/cgrn.png" alt="Yes"/></td><td><img src="/doc/images/cgrn.png" alt="Yes"/></td><td><img src="/doc/images/cgrn.png" alt="Yes"/></td><td><img src="/doc/images/cgrn.png" alt="Yes"/></td>
diff --git a/go.mod b/go.mod
index 5f2a2c8..7be4256 100644
--- a/go.mod
+++ b/go.mod
@@ -1,3 +1,3 @@
module github.com/apache/thrift
-go 1.19
+go 1.20
diff --git a/lib/go/test/fuzz/go.mod b/lib/go/test/fuzz/go.mod
index 6641881..41cccc3 100644
--- a/lib/go/test/fuzz/go.mod
+++ b/lib/go/test/fuzz/go.mod
@@ -1,6 +1,6 @@
module github.com/apache/thrift/lib/go/test/fuzz
-go 1.19
+go 1.20
replace github.com/apache/thrift => ../../../../
diff --git a/lib/go/test/go.mod b/lib/go/test/go.mod
index 1c6d80d..59535e6 100644
--- a/lib/go/test/go.mod
+++ b/lib/go/test/go.mod
@@ -1,6 +1,6 @@
module github.com/apache/thrift/lib/go/test
-go 1.19
+go 1.20
require (
github.com/apache/thrift v0.0.0-00010101000000-000000000000
diff --git a/test/go/go.mod b/test/go/go.mod
index ff88c9b..723069b 100644
--- a/test/go/go.mod
+++ b/test/go/go.mod
@@ -1,6 +1,6 @@
module github.com/apache/thrift/test/go
-go 1.19
+go 1.20
require (
github.com/apache/thrift v0.0.0-00010101000000-000000000000