Skip to content

Commit dde9a6b

Browse files
committed
ci: reorder steps
1 parent e59e021 commit dde9a6b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/pr.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,9 @@ jobs:
1515
- uses: actions/setup-go@v5
1616
with:
1717
go-version: 1.24
18-
cache: 'false'
1918

2019
- name: Get dependencies
21-
run: |
22-
set -eo pipefail
23-
go mod tidy && git diff --exit-code
24-
go mod download
25-
go mod verify
20+
run: go mod download
2621

2722
- name: Cache Go dependencies
2823
uses: actions/cache@v4
@@ -69,6 +64,9 @@ jobs:
6964
run: |
7065
make lint-panics
7166
67+
- name: go mod tidy
68+
run: go mod tidy && git diff --exit-code
69+
7270
migration-check:
7371
name: Check SQL migrations order
7472
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)