diff --git a/.github/workflows/acceptance-tests.yaml b/.github/workflows/acceptance-tests.yaml index 3107945911..a27b0fa036 100644 --- a/.github/workflows/acceptance-tests.yaml +++ b/.github/workflows/acceptance-tests.yaml @@ -50,7 +50,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.22 + go-version: 1.23 - name: Run Acceptance Tests run: go test -v ./internal/services/${{ matrix.products }} -timeout=2h env: @@ -74,7 +74,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.22 + go-version: 1.23 - name: Run scwconfig tests run: go test -v ./internal/services/scwconfig -timeout=2m env: diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index fdc243acc5..fc529eca7d 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -15,7 +15,7 @@ jobs: fetch-depth: 2 - uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' - name: Run coverage run: go test -v -timeout=2h -coverprofile=coverage.out -covermode=count ./... env: diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 75a04a8476..2d0699e07f 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -12,7 +12,7 @@ on: - docs/** env: - GO_VERSION: "1.22" + GO_VERSION: "1.23" GO111MODULE: on jobs: diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index eab91b623c..8d88e0a1c0 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -51,7 +51,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.22 + go-version: 1.23 - name: Run Acceptance Tests run: go test -v ./internal/services/${{ matrix.products }} -timeout=4h env: @@ -102,7 +102,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.22 + go-version: 1.23 - name: Run sweepers run: make sweep env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 31ac5be6d4..7a7fa07624 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.22 + go-version: 1.23 - name: Import GPG key id: import_gpg diff --git a/.github/workflows/tfproviderlint.yml b/.github/workflows/tfproviderlint.yml index 0f36a45005..f8e17fbb91 100644 --- a/.github/workflows/tfproviderlint.yml +++ b/.github/workflows/tfproviderlint.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.22 + go-version: 1.23 - name: Install tfproviderlint run: go install github.com/bflad/tfproviderlint/cmd/tfproviderlint - name: Run tfproviderlint @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.22 + go-version: 1.23 - uses: hashicorp/setup-terraform@v3 - run: go install github.com/bflad/tfproviderdocs@latest - run: make tfproviderdocs diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index 8897fb51f4..d05fc463bc 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -8,7 +8,7 @@ jobs: tests: strategy: matrix: - go-version: [1.22.x] + go-version: [1.23.x] platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} steps: diff --git a/.go-version b/.go-version index 71f7f51df9..a1b6e17d61 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.22 +1.23 diff --git a/cmd/tftemplate/go.mod b/cmd/tftemplate/go.mod index b046ed24d6..cf7a143fad 100644 --- a/cmd/tftemplate/go.mod +++ b/cmd/tftemplate/go.mod @@ -1,8 +1,8 @@ module tftemplate -go 1.22 +go 1.23 -toolchain go1.22.2 +toolchain go1.23.2 require github.com/AlecAivazis/survey/v2 v2.3.7 diff --git a/go.mod b/go.mod index ac413ddba0..eca3df46b0 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/scaleway/terraform-provider-scaleway/v2 -go 1.22.0 +go 1.23.0 toolchain go1.23.1