Skip to content

Commit f4e3324

Browse files
Codelaxremyleone
andauthored
ci: bump go to 1.23 (#2899)
* ci: bump go to 1.23 * set version to 1.23.5 * remove coverage workflow * Update go.mod * go mod tidy * Fix --------- Co-authored-by: Rémy Léone <[email protected]> Co-authored-by: Rémy Léone <[email protected]>
1 parent 7920174 commit f4e3324

File tree

8 files changed

+11
-46
lines changed

8 files changed

+11
-46
lines changed

.github/workflows/acceptance-tests.yaml

Lines changed: 2 additions & 2 deletions
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.5
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.5
7878
- name: Run scwconfig tests
7979
run: go test -v ./internal/services/scwconfig -timeout=2m
8080
env:

.github/workflows/coverage.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
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.5"
1616
GO111MODULE: on
1717

1818
jobs:

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
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.5
5555
- name: Run Acceptance Tests
5656
run: go test -v ./internal/services/${{ matrix.products }} -timeout=4h
5757
env:
@@ -103,7 +103,7 @@ jobs:
103103
- name: Install Go
104104
uses: actions/setup-go@v5
105105
with:
106-
go-version: 1.22
106+
go-version: 1.23.5
107107
- name: Run sweepers
108108
run: make sweep
109109
env:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
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.5
3232

3333
- name: Import GPG key
3434
id: import_gpg

.github/workflows/tfproviderlint.yml

Lines changed: 2 additions & 2 deletions
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.5
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.5
2929
- uses: hashicorp/setup-terraform@v3
3030
- run: go install github.com/bflad/tfproviderdocs@latest
3131
- run: make tfproviderdocs

.github/workflows/unit-tests.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ on:
66

77
jobs:
88
tests:
9-
strategy:
10-
matrix:
11-
go-version: [1.22.x]
12-
platform: [ubuntu-latest]
13-
runs-on: ${{ matrix.platform }}
9+
runs-on: ubuntu-latest
1410
steps:
1511
# Checkout should always be before setup-go to ensure caching is working
1612
- name: Checkout
@@ -20,7 +16,7 @@ jobs:
2016
- name: Install Go
2117
uses: actions/setup-go@v5
2218
with:
23-
go-version: ${{ matrix.go-version }}
19+
go-version: 1.23.5
2420
- name: Build binaries
2521
run: make build
2622
- name: Run unit tests

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/scaleway/terraform-provider-scaleway/v2
22

3-
go 1.22.0
4-
5-
toolchain go1.23.1
3+
go 1.23.5
64

75
require (
86
github.com/aws/aws-sdk-go-v2 v1.32.7

0 commit comments

Comments
 (0)