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

Remove hardcoded golangci-lint and go version #2386

Merged
merged 2 commits into from
Aug 26, 2024

Conversation

piyush-garg
Copy link
Contributor

This will remove hardcoded versions of golangci-lint and go in Makefile and release pipeline, instead detect them from go.mod files

This will eliminate the need to update them during release and also CI will run the latest golangci-lint version

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes tests (if functionality changed/added)
  • Run the code checkers with make check
  • Regenerate the manpages, docs and go formatting with make generated
  • Commit messages follow commit message best practices

See the contribution guide
for more details.

Release Notes

Remove hardcoded golangci-lint and go version

This will remove hardcoded versions of golangci-lint and go
in Makefile and release pipeline, instead detect them from
go.mod files

This will eliminate the need to update them during release
and also CI will run the latest golangci-lint version
@tekton-robot tekton-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 26, 2024
SKip type conversion golint warning G115 as it is
breaking the CI
Copy link
Member

@vinamra28 vinamra28 left a comment

Choose a reason for hiding this comment

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

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 26, 2024
@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vinamra28

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 26, 2024
@tekton-robot tekton-robot merged commit 8fa0a32 into tektoncd:main Aug 26, 2024
8 checks passed
vinamra28 added a commit that referenced this pull request Sep 10, 2024
#2380 | [dependabot[bot]] Bump github.com/golangci/golangci-lint from 1.60.1 to 1.60.2 in /tools | 2024/08/22-08:46
#2382 | [Piyush Garg] Move to goreleaser v2 | 2024/08/22-12:00
#2383 | [Piyush Garg] Update docs for 0.38.0 release | 2024/08/23-12:10
#2384 | [dependabot[bot]] Bump github.com/golangci/golangci-lint from 1.60.2 to 1.60.3 in /tools | 2024/08/23-16:24
#2385 | [dependabot[bot]] Bump github.com/tektoncd/pipeline from 0.62.1 to 0.62.2 | 2024/08/23-17:18
#2387 | [Piyush Garg] Fix ubuntu launchpad build | 2024/08/26-09:12
#2386 | [Piyush Garg] Remove hardcoded golangci-lint and go version | 2024/08/26-09:46
#2386 | [Piyush Garg] Fix golint error | 2024/08/26-09:46
#2389 | [dependabot[bot]] Bump the go-docker-dependencies group with 2 updates | 2024/08/29-03:27
#2390 | [Senjuti De] Refactored delete.go file for customrun | 2024/08/29-07:49
null | [Piyush Garg] Bump tektoncd/pipeline to v0.62.3 | 2024/09/04-05:09
null | [dependabot[bot]] Bump github.com/tektoncd/triggers from 0.29.0 to 0.29.1 | 2024/09/05-12:19
null | [dependabot[bot]] Bump the go-docker-dependencies group with 2 updates | 2024/09/10-10:39

Signed-off-by: vinamra28 <vinjain@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants