Skip to content

Commit 1557bb0

Browse files
authored
Move linter to an earlier position
Refs golangci/golangci-lint-action#244
1 parent 04a083e commit 1557bb0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ jobs:
3030
with:
3131
fetch-depth: 0
3232

33+
- name: Lint
34+
uses: golangci/golangci-lint-action@v2
35+
with:
36+
version: latest
37+
skip-go-installation: true
38+
3339
- name: Install tools
3440
run: make install
3541

@@ -44,11 +50,6 @@ jobs:
4450
- name: Build
4551
run: make build
4652

47-
- name: Lint
48-
uses: golangci/golangci-lint-action@v2
49-
with:
50-
version: v1.37
51-
5253
- name: Test
5354
run: make test
5455

0 commit comments

Comments
 (0)