Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c0547b

Browse files
authored
Merge pull request #958 from duglin/go1.18
Move to go 1.18.
2 parents b497de9 + 7c1a3b1 commit 9c0547b

Some content is hidden

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

82 files changed

+98
-6371
lines changed

.github/workflows/conformance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: CloudEvents
1313
strategy:
1414
matrix:
15-
go-version: [1.17.x]
15+
go-version: [1.21.x]
1616
platform: [ubuntu-latest]
1717

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

.github/workflows/go-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: Build
1313
strategy:
1414
matrix:
15-
go-version: [1.17.x]
15+
go-version: [1.21.x]
1616
platform: [ubuntu-latest]
1717

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

.github/workflows/go-format.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- name: Checkout code
1717
uses: actions/checkout@v4
1818

19-
- name: Setup Go 1.17.x
19+
- name: Setup Go
2020
uses: actions/setup-go@v4
2121
with:
22-
go-version: 1.17.x
22+
go-version: 1.21.x
2323
cache-dependency-path: v2/go.sum
2424
id: go
2525

.github/workflows/go-lint.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- name: Checkout code
1717
uses: actions/checkout@v4
1818

19-
- name: Setup Go 1.17.x
19+
- name: Setup Go
2020
uses: actions/setup-go@v4
2121
with:
22-
go-version: 1.17.x
22+
go-version: 1.21.x
2323
cache-dependency-path: v2/go.sum
2424
id: go
2525

@@ -32,6 +32,6 @@ jobs:
3232
if: steps.golangci_configuration.outputs.files_exists == 'true'
3333
uses: golangci/golangci-lint-action@v3
3434
with:
35-
version: v1.29
35+
version: v1.54
3636
working-directory: v2
3737

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: Unit Test
1313
strategy:
1414
matrix:
15-
go-version: [1.17.x]
15+
go-version: [1.21.x]
1616
platform: [ubuntu-latest]
1717

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

.github/workflows/integration.yaml

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

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

.github/workflows/observability.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: CloudEvents
1313
strategy:
1414
matrix:
15-
go-version: [1.17.x]
15+
go-version: [1.21.x]
1616
platform: [ubuntu-latest]
1717

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

.github/workflows/release.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
outputs:
1313
next: ${{ steps.ggsv.outputs.next}}
1414
steps:
15-
- name: Setup Go 1.17.x
15+
- name: Setup Go
1616
uses: actions/setup-go@v4
1717
with:
18-
go-version: 1.17.x
18+
go-version: 1.21.x
1919
cache-dependency-path: v2/go.sum
2020

2121
- name: Install Dependencies
@@ -56,10 +56,10 @@ jobs:
5656
- name: Checkout Code
5757
uses: actions/checkout@v4
5858

59-
- name: Set up Go 1.17.x
59+
- name: Set up Go
6060
uses: actions/setup-go@v4
6161
with:
62-
go-version: 1.17.x
62+
go-version: 1.21.x
6363
cache-dependency-path: v2/go.sum
6464

6565
- run: git pull
@@ -87,10 +87,10 @@ jobs:
8787
env:
8888
VERSION: ${{ needs.semver.outputs.next }}
8989
steps:
90-
- name: Set up Go 1.17.x
90+
- name: Set up Go
9191
uses: actions/setup-go@v4
9292
with:
93-
go-version: 1.17.x
93+
go-version: 1.21.x
9494
cache-dependency-path: v2/go.sum
9595

9696
- 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.17+
23+
_Note:_ Supported go version: 1.18+
2424

2525
## Get started
2626

binding/format/protobuf/v2/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/cloudevents/sdk-go/binding/format/protobuf/v2
22

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/cloudevents/sdk-go/v2 v2.5.0

0 commit comments

Comments
 (0)