Skip to content

Commit 1c0cdb5

Browse files
committed
Update sanity workflow
Signed-off-by: timflannagan <[email protected]>
1 parent a78948a commit 1c0cdb5

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/sanity.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,18 @@ on:
66
pull_request:
77
workflow_dispatch:
88
jobs:
9-
sanity:
9+
golangci:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v1
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
16+
- name: Run linting checks
17+
uses: "golangci/golangci-lint-action@v2"
18+
with:
19+
version: "v1.43"
20+
skip-go-installation: true
21+
skip-pkg-cache: true
1822
- name: Run sanity checks
19-
run: make vendor && make lint && make diff
23+
run: make vendor && make diff

0 commit comments

Comments
 (0)