-
Notifications
You must be signed in to change notification settings - Fork 2
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 CODEOWNERS, fix lint workflow #25
Conversation
Trying to fix early 'Set up job' failures: > Error: Unable to resolve action `github/go-linter`, not found Commit sha from https://github.com/golangci/golangci-lint-action/releases/tag/v6.1.1 Workflow setup from https://github.com/github/gh-ost/blob/48cb9ab7c7aea1953b086fb68fff6e2b5dd2f0c1/.github/workflows/golangci-lint.yml
@@ -1 +1 @@ | |||
* @github/bento-reviewers | |||
* @github/github-models-reviewers |
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.
✨ This is awesome!
Are there places in dotcom we should be making this substitution too? Happy to help with it!
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.
There are! There's a PR in flight now to do so.
"The action will first check the local cache for a version match. If a version is not found locally, it will pull it from the main branch of the go-versions repository. On miss or failure, it will fall back to downloading directly from go dist. To change the default behavior, please use the check-latest input." - https://github.com/actions/setup-go
8b1535f
to
dd13a17
Compare
- "**.go" | ||
- go.mod | ||
- go.sum | ||
- .github/workflows/lint.yml |
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.
With these changes, the linter workflow won't run when, say, a Markdown file is edited.
strict: true | ||
go-version: ${{ vars.GOVERSION }} | ||
goproxy-token: ${{secrets.GOPROXY_TOKEN}} | ||
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 |
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.
Using a different linter since the other was giving errors about "Error: Unable to resolve action github/go-linter
, not found".
This loops in a broader group of code reviewers when files in the repo are changed. I also updated the lint workflow because I noticed it was failing in the setup stage with "Error: Unable to resolve action
github/go-linter
, not found".