-
Notifications
You must be signed in to change notification settings - Fork 14
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
Update to Go 1.21 #95
Conversation
Signed-off-by: Evgenii Baidakov <[email protected]>
Closes #61. Signed-off-by: Evgenii Baidakov <[email protected]>
Adapt to our new policy. Signed-off-by: Evgenii Baidakov <[email protected]>
According to https://golangci-lint.run/usage/linters/#govet, `check-shadowing` no longer exists. Now it should be ```yaml govet: disable: [shadow] ``` but `shadow` is disabled by default. Thus, whole `govet` section is not needed anymore. ``` $ golangci-lint --version golangci-lint has version 1.59.1 built with go1.22.3 from 1a55854a on 2024-06-09T18:08:33Z ``` Signed-off-by: Evgenii Baidakov <[email protected]>
This fixes ``` $ golangci-lint --version golangci-lint has version 1.59.1 built with go1.22.3 from 1a55854a on 2024-06-09T18:08:33Z $ golangci-lint run ./... WARN [config_reader] The configuration option `output.format` is deprecated, please use `output.formats` ``` The configuration file is updated according to https://golangci-lint.run/usage/configuration/. Signed-off-by: Evgenii Baidakov <[email protected]>
Signed-off-by: Evgenii Baidakov <[email protected]>
Signed-off-by: Evgenii Baidakov <[email protected]>
The valid example is https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/endpoints/. Signed-off-by: Evgenii Baidakov <[email protected]>
Signed-off-by: Evgenii Baidakov <[email protected]>
Signed-off-by: Evgenii Baidakov <[email protected]>
Signed-off-by: Evgenii Baidakov <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #95 +/- ##
=========================================
+ Coverage 2.11% 2.12% +0.01%
=========================================
Files 11 11
Lines 758 754 -4
=========================================
Hits 16 16
+ Misses 742 738 -4 ☔ View full report in Codecov by Sentry. |
@@ -34,7 +34,7 @@ jobs: | |||
strategy: | |||
matrix: | |||
os: [ubuntu-22.04, windows-2022, macos-12, macos-14] | |||
go: [ '1.20', '1.21', '1.22' ] | |||
go: [ '1.21', '1.22' ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this commit should be squashed with the previous one. It's a little confusing when reviewing it in the order of commit history.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, technically it creates an invalid (always failing) test job after go.mod is upgraded, but this line isn't.
Closes #61