Skip to content

Commit a0088c0

Browse files
committed
.github/workflows: Run the golangci-lint action during the sanity checks
Update the sanity workflow and add the golangci-lint action. Signed-off-by: timflannagan <[email protected]>
1 parent 37712dc commit a0088c0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/sanity.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ jobs:
1313
- uses: actions/setup-go@v2
1414
with:
1515
go-version: '~1.16'
16-
- name: Install goimports
17-
run: go install golang.org/x/tools/cmd/goimports@latest
1816
- name: Run sanity checks
19-
run: make vendor && make lint && make diff
17+
run: make vendor && make diff
18+
- name: Run linting checks
19+
uses: "golangci/golangci-lint-action@v2"
20+
with:
21+
version: "v1.43"
22+
skip-go-installation: true
23+
skip-pkg-cache: true

0 commit comments

Comments
 (0)