-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(go): bump golang version to 1.18 (#5348)
Signed-off-by: João Reigota <[email protected]> Co-authored-by: rafaela-soares <[email protected]>
- Loading branch information
1 parent
213e2d9
commit 75251d6
Showing
22 changed files
with
456 additions
and
819 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,24 +10,23 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Go 1.17.x | ||
- name: Set up Go 1.18.x | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17.x | ||
go-version: 1.18.x | ||
- name: golangci-lint | ||
uses: golangci/[email protected] | ||
with: | ||
version: v1.37 | ||
version: v1.46.1 | ||
args: -c .golangci.yml --timeout 15m | ||
skip-go-installation: true | ||
go-generate: | ||
name: go-generate | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go 1.17.x | ||
- name: Set up Go 1.18.x | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17.x | ||
go-version: 1.18.x | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
with: | ||
|
@@ -39,11 +38,11 @@ jobs: | |
name: unit-tests | ||
strategy: | ||
matrix: | ||
go-version: [1.17.x] | ||
go-version: [1.18.x] | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Set up Go 1.17.x | ||
- name: Set up Go 1.18.x | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18.x | ||
- name: Run GoReleaser | ||
uses: goreleaser/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18.x | ||
- name: Run GoReleaser | ||
uses: goreleaser/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
# - name: Set up Go | ||
# uses: actions/setup-go@v2 | ||
# with: | ||
# go-version: 1.17 | ||
# go-version: 1.18.x | ||
# - name: Run GoReleaser | ||
# uses: goreleaser/[email protected] | ||
# with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.