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

chore: upgrade golang to 1.19 #2219

Merged
merged 7 commits into from
Oct 4, 2022
Merged

Conversation

zachaller
Copy link
Collaborator

Signed-off-by: zachaller [email protected]

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
  • The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
  • I've signed my commits with DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My builds are green. Try syncing with master if they are not.
  • My organization is added to USERS.md.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 30, 2022

Go Published Test Results

1 739 tests   1 739 ✔️  2m 33s ⏱️
   101 suites         0 💤
       1 files           0

Results for commit d6df1c8.

♻️ This comment has been updated with latest results.

@codecov
Copy link

codecov bot commented Aug 30, 2022

Codecov Report

Merging #2219 (d6df1c8) into master (669f961) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2219      +/-   ##
==========================================
- Coverage   82.39%   82.37%   -0.02%     
==========================================
  Files         121      121              
  Lines       18099    18099              
==========================================
- Hits        14912    14909       -3     
- Misses       2417     2419       +2     
- Partials      770      771       +1     
Impacted Files Coverage Δ
metricproviders/cloudwatch/cloudwatch.go 72.97% <ø> (ø)
metricproviders/newrelic/newrelic.go 91.96% <ø> (ø)
rollout/sync.go 79.36% <ø> (ø)
utils/conditions/experiments.go 94.79% <ø> (ø)
utils/replicaset/replicaset.go 88.27% <ø> (ø)
rollout/trafficrouting/istio/controller.go 50.81% <0.00%> (-1.63%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 30, 2022

E2E Tests Published Test Results

88 tests   85 ✔️  43m 51s ⏱️
  1 suites    3 💤
  1 files      0

Results for commit d6df1c8.

♻️ This comment has been updated with latest results.

Signed-off-by: zachaller <[email protected]>
Signed-off-by: zachaller <[email protected]>
@zachaller zachaller marked this pull request as ready for review August 31, 2022 20:34
@zachaller zachaller added the ready-for-review Ready for final review label Aug 31, 2022
Signed-off-by: zachaller <[email protected]>
@sonarcloud
Copy link

sonarcloud bot commented Aug 31, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
2.2% 2.2% Duplication

@zachaller zachaller requested a review from leoluz October 4, 2022 17:47
@@ -13,9 +13,7 @@ linters:
- vet
- gofmt
- goimports
- deadcode
- varcheck
- structcheck
Copy link
Contributor

Choose a reason for hiding this comment

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

can you confirm why removing varcheck, structcheck and deadcode? Is this all covered by unused I'm assuming?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

They are deprecated and have moved into unused.

@leoluz leoluz merged commit d147af8 into argoproj:master Oct 4, 2022
jenciso pushed a commit to jenciso/argo-rollouts that referenced this pull request Oct 25, 2022
* chore: upgrade golang to 1.19

Signed-off-by: zachaller <[email protected]>

* Upgrade golangci-lint

Signed-off-by: zachaller <[email protected]>

* Upgrade golangci-lint in github action

Signed-off-by: zachaller <[email protected]>

* fix linting

Signed-off-by: zachaller <[email protected]>

* Add nolint to test functions

Signed-off-by: zachaller <[email protected]>

* Cleanup

Signed-off-by: zachaller <[email protected]>

* github trigger re-run

Signed-off-by: zachaller <[email protected]>

Signed-off-by: zachaller <[email protected]>
jandersen-plaid pushed a commit to jandersen-plaid/argo-rollouts that referenced this pull request Nov 8, 2022
* chore: upgrade golang to 1.19

Signed-off-by: zachaller <[email protected]>

* Upgrade golangci-lint

Signed-off-by: zachaller <[email protected]>

* Upgrade golangci-lint in github action

Signed-off-by: zachaller <[email protected]>

* fix linting

Signed-off-by: zachaller <[email protected]>

* Add nolint to test functions

Signed-off-by: zachaller <[email protected]>

* Cleanup

Signed-off-by: zachaller <[email protected]>

* github trigger re-run

Signed-off-by: zachaller <[email protected]>

Signed-off-by: zachaller <[email protected]>
jandersen-plaid pushed a commit to jandersen-plaid/argo-rollouts that referenced this pull request Nov 26, 2022
* chore: upgrade golang to 1.19

Signed-off-by: zachaller <[email protected]>

* Upgrade golangci-lint

Signed-off-by: zachaller <[email protected]>

* Upgrade golangci-lint in github action

Signed-off-by: zachaller <[email protected]>

* fix linting

Signed-off-by: zachaller <[email protected]>

* Add nolint to test functions

Signed-off-by: zachaller <[email protected]>

* Cleanup

Signed-off-by: zachaller <[email protected]>

* github trigger re-run

Signed-off-by: zachaller <[email protected]>

Signed-off-by: zachaller <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review Ready for final review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants