Skip to content

Commit 09f45b6

Browse files
committed
ci: add go mod tidy verification step to release workflow
1 parent 788b85c commit 09f45b6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
with:
3131
go-version: 1.24.0
3232

33+
- name: Verify go.mod is tidy
34+
run: |
35+
go mod tidy
36+
git diff --exit-code
37+
3338
- name: Import GPG key
3439
id: import_gpg
3540
uses: crazy-max/ghaction-import-gpg@v6

0 commit comments

Comments
 (0)