Skip to content

Commit 1370ddb

Browse files
andreyneringdominikh
authored andcommitted
website: update versions of Staticcheck and staticcheck-action
Closes: gh-1273 [via git-merge-pr]
1 parent 67bbe3d commit 1370ddb

File tree

1 file changed

+4
-4
lines changed
  • website/content/docs/running-staticcheck/ci/github-actions

1 file changed

+4
-4
lines changed

website/content/docs/running-staticcheck/ci/github-actions/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
- uses: actions/checkout@v1
2525
with:
2626
fetch-depth: 1
27-
- uses: dominikh/staticcheck-action@v1.1.0
27+
- uses: dominikh/staticcheck-action@v1.2.0
2828
with:
29-
version: "2021.1.1"
29+
version: "2022.1.1"
3030
```
3131

3232
A more advanced example that runs tests, go vet and Staticcheck on multiple OSs and Go versions looks like this:
@@ -53,9 +53,9 @@ jobs:
5353
go-version: ${{ matrix.go }}
5454
- run: "go test ./..."
5555
- run: "go vet ./..."
56-
- uses: dominikh/staticcheck-action@v1.1.0
56+
- uses: dominikh/staticcheck-action@v1.2.0
5757
with:
58-
version: "2021.1.1"
58+
version: "2022.1.1"
5959
install-go: false
6060
cache-key: ${{ matrix.go }}
6161
```

0 commit comments

Comments
 (0)