Skip to content
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

Test and lint against Go 1.19 #62

Merged
merged 1 commit into from Aug 12, 2022
Merged

Test and lint against Go 1.19 #62

merged 1 commit into from Aug 12, 2022

Conversation

abhinav
Copy link
Collaborator

@abhinav abhinav commented Aug 12, 2022

Add Go 1.19 to the test matrix, and switch linting to Go 1.19 since we
prefer to lint with the latest stable release.

With Go 1.19, we need to:

  • Update tools dependencies
  • Fix any use of ioutil
  • gofmt all files to match new godoc format

Add Go 1.19 to the test matrix, and switch linting to Go 1.19 since we
prefer to lint with the latest stable release.

With Go 1.19, we need to:

- Update tools dependencies
- Fix any use of ioutil
- gofmt all files to match new godoc format
@@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.17.x", "1.18.x"]
go: ["1.17.x", "1.18.x", "1.19.x"]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should 1.17.x be dropped?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We haven't been dropping 1.17 from any other package just yet because 1.19 is super new and there's a good chance that many users haven't migrated to 1.18 just yet.

But yes, we should drop this in a future change.

@codecov
Copy link

codecov bot commented Aug 12, 2022

Codecov Report

Merging #62 (7476416) into master (aa8f15f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #62   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines          108       108           
=========================================
  Hits           108       108           
Impacted Files Coverage Δ
error.go 100.00% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@abhinav abhinav enabled auto-merge (squash) August 12, 2022 14:54
@abhinav abhinav requested a review from r-hang August 12, 2022 15:01
@abhinav abhinav merged commit 492b792 into master Aug 12, 2022
@abhinav abhinav deleted the go119 branch August 12, 2022 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants