diff --git a/.github/workflows/code.yml b/.github/workflows/code.yml index 50f6165f..8c6d0741 100644 --- a/.github/workflows/code.yml +++ b/.github/workflows/code.yml @@ -24,10 +24,10 @@ jobs: strategy: matrix: go: - - version: "1.21" - name: target - - version: "1.22.0" - name: latest + - version: "1.22" + name: "target" + - version: "1.23" + name: "latest" name: "Static checks with ${{ matrix.go.name }} Go" steps: - uses: actions/checkout@v4 @@ -55,10 +55,10 @@ jobs: strategy: matrix: go: - - version: "1.21" - name: target - - version: "1.22.0" - name: latest + - version: "1.22" + name: "target" + - version: "1.23" + name: "latest" name: "Unit tests with ${{ matrix.go.name }} Go" steps: - uses: actions/checkout@v4 @@ -85,7 +85,7 @@ jobs: strategy: matrix: go: - - version: "1.21" + - version: "1.22" name: target name: "Integration tests with ${{ matrix.go.name }} Go (trusted)" steps: diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index badd9483..40086e78 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -25,10 +25,10 @@ jobs: strategy: matrix: go: - - version: "1.21" - name: target - - version: "1.22.0" - name: latest + - version: "1.22" + name: "target" + - version: "1.23" + name: "latest" name: "Spell check with ${{ matrix.go.name }} Go" steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index c3e4de74..c64fe3fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,10 @@ Some examples, more below in the actual changelog (newer entries are more likely * api/mock/mock_api_implementation: panic when trying to fake `ResourceWithTag` (#419, @drpsychick) +### Changed + +* go-anxcloud is now tested with Go versions 1.22 and 1.23 (#428, @drpsychick) + ### Fixed * CloudDNS now consistently uses `zone_name` during requests, fixing integration tests (#432, @drpsychick) diff --git a/go.mod b/go.mod index 9931a841..5445b210 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module go.anx.io/go-anxcloud -go 1.20 +go 1.22 + +toolchain go1.23.3 require ( github.com/go-logr/logr v1.4.2 diff --git a/go.sum b/go.sum index 4a1c86bc..7d4c35c9 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,5 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= @@ -19,9 +20,11 @@ github.com/onsi/ginkgo/v2 v2.20.1/go.mod h1:lG9ey2Z29hR41WMVthyJBGUBcBhGOtoPF2VF github.com/onsi/gomega v1.34.1 h1:EUMJIKUjM8sKjYbtxQI9A4z2o+rruxnzNvpknOXie6k= github.com/onsi/gomega v1.34.1/go.mod h1:kU1QgUvBDLXBJq618Xvm2LUX6rSAfRaFRTcdOeDLwwY= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/satori/go.uuid v1.2.1-0.20181028125025-b2ce2384e17b h1:gQZ0qzfKHQIybLANtM3mBXNUtOfsCFXeTsnBqCsx1KM= github.com/satori/go.uuid v1.2.1-0.20181028125025-b2ce2384e17b/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 h1:2dVuKD2vS7b0QIHQbpyTISPd0LeHDbnYEryqj5Q1ug8= @@ -31,6 +34,7 @@ golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4= golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.27.0 h1:WP60Sv1nlK1T6SupCHbXzSaN0b9wUmsPoRS9b61A23Q= +golang.org/x/term v0.27.0/go.mod h1:iMsnZpn0cago0GOrHO2+Y7u7JPn5AylBrcoWkElMTSM= golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo= golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ= golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24= diff --git a/tools/go.mod b/tools/go.mod index 9cd61691..32315ca9 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -2,7 +2,7 @@ module go.anx.io/go-anxcloud/tools go 1.22.1 -toolchain go1.22.5 +toolchain go1.23.3 require ( github.com/client9/misspell v0.3.4