-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
go1.19 support #3037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
go1.19 support #3037
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
3af3181
chore: quick cleaning
ldez 513e8d4
chore: update Go versions
ldez 11fef98
compatibility with previous version of golangci-lint
ldez fb963b1
netlify: downgrade Go version
ldez 8b175ac
go1.19 fmt
ldez b635b3c
chore: bump to stable version
ldez d20f503
doc: improve comments
ldez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: bump to stable version
- Loading branch information
commit b635b3c4a3acfa37bf2a7364cdb09026a806f540
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
pull_request: | ||
|
||
env: | ||
GO_VERSION: 1.19.0-rc.2 | ||
GO_VERSION: 1.19 | ||
|
||
jobs: | ||
# Check if there any dirty change for go mod tidy | ||
|
@@ -16,7 +16,7 @@ jobs: | |
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc.1). | ||
# stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc.1). | ||
go-version: ${{ env.GO_VERSION }} | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
@@ -34,8 +34,8 @@ jobs: | |
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc.1). | ||
# go-version: ${{ env.GO_VERSION }} | ||
# stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc.1). | ||
# go-version: ${{ env.GO_VERSION }} # todo(ldez) uncomment after the next release v1.48.0 | ||
go-version: 1.18 | ||
- name: lint | ||
uses: golangci/[email protected] | ||
|
@@ -53,7 +53,7 @@ jobs: | |
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc.1). | ||
# stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc.1). | ||
go-version: ${{ env.GO_VERSION }} # test only the latest go version to speed up CI | ||
- name: Run tests | ||
run: make.exe test | ||
|
@@ -67,7 +67,7 @@ jobs: | |
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc.1). | ||
# stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc.1). | ||
go-version: ${{ env.GO_VERSION }} # test only the latest go version to speed up CI | ||
- name: Run tests | ||
run: make test | ||
|
@@ -79,13 +79,13 @@ jobs: | |
matrix: | ||
golang: | ||
- 1.18 | ||
- 1.19.0-rc.2 | ||
- 1.19 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc.1). | ||
# stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc.1). | ||
go-version: ${{ matrix.golang }} | ||
- uses: actions/cache@v3 | ||
with: | ||
|
@@ -109,7 +109,7 @@ jobs: | |
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc.1). | ||
# stable: 'false' # Keep this line to be able to use rc and beta version of Go (ex: 1.18.0-rc.1). | ||
go-version: ${{ env.GO_VERSION }} | ||
- name: Check generated files are up to date | ||
run: make fast_check_generated |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.