Skip to content

Commit 970859e

Browse files
committed
chore: update workflows and deps to go 1.22
Signed-off-by: Michael Gasch <[email protected]>
1 parent 36723c5 commit 970859e

File tree

75 files changed

+1389
-942
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+1389
-942
lines changed

.github/workflows/conformance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: CloudEvents
1616
strategy:
1717
matrix:
18-
go-version: [1.21.x]
18+
go-version: [1.23]
1919
platform: [ubuntu-latest]
2020

2121
runs-on: ${{ matrix.platform }}

.github/workflows/go-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: Build
1616
strategy:
1717
matrix:
18-
go-version: [1.21.x]
18+
go-version: [1.23]
1919
platform: [ubuntu-latest]
2020

2121
runs-on: ${{ matrix.platform }}

.github/workflows/go-format.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Go
2323
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
2424
with:
25-
go-version: 1.21.x
25+
go-version: 1.23
2626
cache-dependency-path: v2/go.sum
2727
id: go
2828

.github/workflows/go-lint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Go
2323
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
2424
with:
25-
go-version: 1.21.x
25+
go-version: 1.23
2626
cache-dependency-path: v2/go.sum
2727
id: go
2828

@@ -35,6 +35,6 @@ jobs:
3535
if: steps.golangci_configuration.outputs.files_exists == 'true'
3636
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
3737
with:
38-
version: v1.54
38+
version: v1.61
3939
working-directory: v2
4040

.github/workflows/go-unit-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: Unit Test
1616
strategy:
1717
matrix:
18-
go-version: [1.21.x]
18+
go-version: [1.23]
1919
platform: [ubuntu-latest]
2020

2121
runs-on: ${{ matrix.platform }}

.github/workflows/integration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
# Only test one go version: the integration tests don't seem to pass if NATS runs more one running at a time.
19-
go-version: [1.21.x]
19+
go-version: [1.23]
2020
platform: [ubuntu-latest]
2121

2222
runs-on: ${{ matrix.platform }}

.github/workflows/observability.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: CloudEvents
1616
strategy:
1717
matrix:
18-
go-version: [1.21.x]
18+
go-version: [1.23]
1919
platform: [ubuntu-latest]
2020

2121
runs-on: ${{ matrix.platform }}

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Go
1919
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
2020
with:
21-
go-version: 1.21.x
21+
go-version: 1.23
2222
cache-dependency-path: v2/go.sum
2323

2424
- name: Install Dependencies
@@ -66,7 +66,7 @@ jobs:
6666
- name: Set up Go
6767
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
6868
with:
69-
go-version: 1.21.x
69+
go-version: 1.23
7070
cache-dependency-path: v2/go.sum
7171

7272
- run: git pull
@@ -99,7 +99,7 @@ jobs:
9999
- name: Set up Go
100100
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
101101
with:
102-
go-version: 1.21.x
102+
go-version: 1.23
103103
cache-dependency-path: v2/go.sum
104104

105105
- name: Checkout Code

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This library will help you to:
2020
_Note:_ Supported
2121
[CloudEvents specification](https://github.com/cloudevents/spec): 0.3, 1.0
2222

23-
_Note:_ Supported go version: 1.18+
23+
_Note:_ Supported go version: 1.22+
2424

2525
## Get started
2626

binding/format/protobuf/v2/go.mod

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
module github.com/cloudevents/sdk-go/binding/format/protobuf/v2
22

3-
go 1.18
3+
go 1.22
4+
5+
toolchain go1.23.2
46

57
require (
6-
github.com/cloudevents/sdk-go/v2 v2.5.0
7-
github.com/stretchr/testify v1.8.0
8-
google.golang.org/protobuf v1.33.0
8+
github.com/cloudevents/sdk-go/v2 v2.15.2
9+
github.com/stretchr/testify v1.9.0
10+
google.golang.org/protobuf v1.35.1
911
)
1012

1113
require (
1214
github.com/davecgh/go-spew v1.1.1 // indirect
13-
github.com/google/uuid v1.1.1 // indirect
14-
github.com/json-iterator/go v1.1.10 // indirect
15-
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
16-
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect
15+
github.com/google/uuid v1.6.0 // indirect
16+
github.com/json-iterator/go v1.1.12 // indirect
17+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
18+
github.com/modern-go/reflect2 v1.0.2 // indirect
1719
github.com/pmezard/go-difflib v1.0.0 // indirect
18-
go.uber.org/atomic v1.4.0 // indirect
19-
go.uber.org/multierr v1.1.0 // indirect
20-
go.uber.org/zap v1.10.0 // indirect
20+
go.uber.org/multierr v1.11.0 // indirect
21+
go.uber.org/zap v1.27.0 // indirect
2122
gopkg.in/yaml.v3 v3.0.1 // indirect
2223
)
2324

0 commit comments

Comments
 (0)