Skip to content

Commit 247de41

Browse files
committedJan 30, 2025·
chore: migrate to go1.23
1 parent 75cc56b commit 247de41

10 files changed

+14
-14
lines changed
 

‎.github/workflows/acceptance-tests.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Install Go
5151
uses: actions/setup-go@v5
5252
with:
53-
go-version: 1.22
53+
go-version: 1.23
5454
- name: Run Acceptance Tests
5555
run: go test -v ./internal/services/${{ matrix.products }} -timeout=2h
5656
env:
@@ -74,7 +74,7 @@ jobs:
7474
- name: Install Go
7575
uses: actions/setup-go@v5
7676
with:
77-
go-version: 1.22
77+
go-version: 1.23
7878
- name: Run scwconfig tests
7979
run: go test -v ./internal/services/scwconfig -timeout=2m
8080
env:

‎.github/workflows/coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fetch-depth: 2
1616
- uses: actions/setup-go@v5
1717
with:
18-
go-version: '1.22'
18+
go-version: '1.23'
1919
- name: Run coverage
2020
run: go test -v -timeout=2h -coverprofile=coverage.out -covermode=count ./...
2121
env:

‎.github/workflows/documentation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- docs/**
1313

1414
env:
15-
GO_VERSION: "1.22"
15+
GO_VERSION: "1.23"
1616
GO111MODULE: on
1717

1818
jobs:

‎.github/workflows/nightly.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Install Go
5252
uses: actions/setup-go@v5
5353
with:
54-
go-version: 1.22
54+
go-version: 1.23
5555
- name: Run Acceptance Tests
5656
run: go test -v ./internal/services/${{ matrix.products }} -timeout=4h
5757
env:
@@ -102,7 +102,7 @@ jobs:
102102
- name: Install Go
103103
uses: actions/setup-go@v5
104104
with:
105-
go-version: 1.22
105+
go-version: 1.23
106106
- name: Run sweepers
107107
run: make sweep
108108
env:

‎.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Go
2929
uses: actions/setup-go@v5
3030
with:
31-
go-version: 1.22
31+
go-version: 1.23
3232

3333
- name: Import GPG key
3434
id: import_gpg

‎.github/workflows/tfproviderlint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-go@v5
1515
with:
16-
go-version: 1.22
16+
go-version: 1.23
1717
- name: Install tfproviderlint
1818
run: go install github.com/bflad/tfproviderlint/cmd/tfproviderlint
1919
- name: Run tfproviderlint
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v4
2626
- uses: actions/setup-go@v5
2727
with:
28-
go-version: 1.22
28+
go-version: 1.23
2929
- uses: hashicorp/setup-terraform@v3
3030
- run: go install github.com/bflad/tfproviderdocs@latest
3131
- run: make tfproviderdocs

‎.github/workflows/unit-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
tests:
99
strategy:
1010
matrix:
11-
go-version: [1.22.x]
11+
go-version: [1.23.x]
1212
platform: [ubuntu-latest]
1313
runs-on: ${{ matrix.platform }}
1414
steps:

‎.go-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.22
1+
1.23

‎cmd/tftemplate/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module tftemplate
22

3-
go 1.22
3+
go 1.23
44

5-
toolchain go1.22.2
5+
toolchain go1.23.2
66

77
require github.com/AlecAivazis/survey/v2 v2.3.7
88

‎go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/scaleway/terraform-provider-scaleway/v2
22

3-
go 1.22.0
3+
go 1.23.0
44

55
toolchain go1.23.1
66

0 commit comments

Comments
 (0)