Skip to content

Commit 1e7cb4f

Browse files
committed
Correct staticcheck reference to setup-env, sort alphabetically and correct staticcheck package URL
Co-Authored By: @mcdonnnj <[email protected]>
1 parent c6ab22e commit 1e7cb4f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,16 @@ jobs:
9191
PACKAGE_URL: github.com/securego/gosec/v2/cmd/gosec
9292
PACKAGE_VERSION: ${{ steps.setup-env.outputs.gosec-version }}
9393
run: go install ${PACKAGE_URL}@${PACKAGE_VERSION}
94-
- name: Install staticcheck
95-
env:
96-
PACKAGE_URL: dominikh/staticcheck-action
97-
PACKAGE_VERSION: ${{ steps.setup-env.outputs.go-staticcheck-version }}
98-
run: go install ${PACKAGE_URL}@${PACKAGE_VERSION}
9994
- name: Install shfmt
10095
env:
10196
PACKAGE_URL: mvdan.cc/sh/v3/cmd/shfmt
10297
PACKAGE_VERSION: ${{ steps.setup-env.outputs.shfmt-version }}
10398
run: go install ${PACKAGE_URL}@${PACKAGE_VERSION}
99+
- name: Install staticcheck
100+
env:
101+
PACKAGE_URL: honnef.co/go/tools/cmd/staticcheck
102+
PACKAGE_VERSION: ${{ steps.setup-env.outputs.staticcheck-version }}
103+
run: go install ${PACKAGE_URL}@${PACKAGE_VERSION}
104104
- name: Install Terraform-docs
105105
env:
106106
PACKAGE_URL: github.com/terraform-docs/terraform-docs

0 commit comments

Comments
 (0)