Skip to content

Commit 3a343a6

Browse files
authored
all: Bump minimum Go module version to 1.22 (#366)
* all: Bump minimum Go module version to 1.22 * add changelog
1 parent 684541e commit 3a343a6

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
kind: NOTES
2+
body: 'all: This release introduces no functional changes. It does however include
3+
dependency updates which address upstream CVEs.'
4+
time: 2024-09-10T07:34:47.671425-04:00
5+
custom:
6+
Issue: "366"

.github/workflows/test.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,12 @@ jobs:
2121
runs-on: ubuntu-latest
2222
timeout-minutes: 5
2323

24-
strategy:
25-
matrix:
26-
go-version: [ '1.21', '1.22' ]
27-
2824
steps:
2925

3026
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
3127
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
3228
with:
33-
go-version: ${{ matrix.go-version }}
29+
go-version-file: 'go.mod'
3430

3531
- name: Run linters
3632
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ linters:
1212
- godot
1313
- gofmt
1414
- gosimple
15+
- govet
1516
- ineffassign
1617
- makezero
1718
- misspell
@@ -22,7 +23,6 @@ linters:
2223
- unconvert
2324
- unparam
2425
- unused
25-
- vet
2626

2727
run:
2828
# Prevent false positive timeouts in CI

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The Null provider is a rather-unusual provider that has constructs that intentio
55
## Requirements
66

77
* [Terraform](https://www.terraform.io/downloads)
8-
* [Go](https://go.dev/doc/install) (1.21)
8+
* [Go](https://go.dev/doc/install) (1.22)
99
* [GNU Make](https://www.gnu.org/software/make/)
1010
* [golangci-lint](https://golangci-lint.run/usage/install/#local-installation) (optional)
1111

go.mod

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

3-
go 1.21
4-
5-
toolchain go1.21.6
3+
go 1.22.7
64

75
require (
86
github.com/hashicorp/terraform-plugin-framework v1.11.0

tools/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module tools
22

3-
go 1.21
3+
go 1.22.7
44

55
require (
66
github.com/hashicorp/copywrite v0.19.0

0 commit comments

Comments
 (0)