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

Update staticcheck x GitHub action guide #1487

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

novalagung
Copy link

Changelogs:

  • Use the GitHub actions/checkout@v4 instead of the old one. also, remove the fetch-depth property as the default is already set to 1.
  • Fix the go versions in the example. the go v1.16.x is not supported by staticcheck v2022.1.1
  • adjust space/indentation

@novalagung
Copy link
Author

friendly ping for @dominikh, kindly review this PR, thanks!

- uses: actions/checkout@v4
- uses: dominikh/staticcheck-action@v1.3.0
with:
version: "2022.1.1"
Copy link

Choose a reason for hiding this comment

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

Suggested change
version: "2022.1.1"
version: "2023.1.6"

- run: "go vet ./..."
- uses: dominikh/staticcheck-action@v1.3.0
with:
version: "2022.1.1"
Copy link

Choose a reason for hiding this comment

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

Suggested change
version: "2022.1.1"
version: "2023.1.6"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants