Skip to content

Commit 6182f47

Browse files
committed
move lint step upper
1 parent 447a081 commit 6182f47

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build-by-commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ jobs:
3030
- name: Verify go.mod is sane
3131
run: go mod tidy && git diff --no-patch --exit-code
3232

33-
- name: Install dependencies
34-
run: go mod download
35-
3633
- name: Run code lint
3734
uses: golangci/[email protected]
3835
with:
3936
args: --timeout=3m
4037

38+
- name: Install dependencies
39+
run: go mod download
40+
4141
- name: Verify build
4242
run: make dev

.github/workflows/build-by-tag.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
- name: Verify go.mod is sane
2727
run: go mod tidy && git diff --no-patch --exit-code
2828

29-
- name: Install dependencies
30-
run: go mod download
31-
3229
- name: Run code lint
3330
uses: golangci/[email protected]
3431
with:
3532
args: --timeout=3m
3633

34+
- name: Install dependencies
35+
run: go mod download
36+
3737
- name: Verify build
3838
run: make dev
3939

0 commit comments

Comments
 (0)