-
-
Notifications
You must be signed in to change notification settings - Fork 377
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 staticcheck x GitHub action guide #1487
base: master
Are you sure you want to change the base?
Conversation
friendly ping for @dominikh, kindly review this PR, thanks! |
website/content/docs/running-staticcheck/ci/github-actions/index.md
Outdated
Show resolved
Hide resolved
website/content/docs/running-staticcheck/ci/github-actions/index.md
Outdated
Show resolved
Hide resolved
…ex.md Co-authored-by: Inada Naoki <[email protected]>
…ex.md Co-authored-by: Inada Naoki <[email protected]>
website/content/docs/running-staticcheck/ci/github-actions/index.md
Outdated
Show resolved
Hide resolved
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.
LGTM 👍
One remark anyway. Maybe I missed it, but I think this page should mention it's important to set up and use dependabot/renovate/whatever to keep this action update.
First. It would be better, and safer for everyone.
Then even if documentation is obsolete (because newer version of actions are available) and copy pasted, it will be fixed automatically.
I do not advocate the use of Dependabot or similarly noisy tools that desire to update dependencies for the sake of updating them. |
That's right. It's definitely noisy. But somehow useful, otherwise it won't be everywhere. But that's a another topic 😅 Stepping out about the need to use such a not, my remark stays. The documentation could mention the example provided in the markdown should mention it may be out of date, and people should adapt to use latest version. |
I will probably switch to using Plus I'm getting tired of having to update examples. |
That's a good approach. |
Changelogs:
actions/checkout@v4
instead of the old one. also, remove thefetch-depth
property as the default is already set to1
.v1.16.x
is not supported by staticcheckv2022.1.1
v1.21.x
&v1.22.x
instead