Skip to content

Commit 94baa12

Browse files
remyleoneyfodil
andauthored
chore: add support for testing that go.mod is tidy (#3089)
Co-authored-by: Yacine Fodil <[email protected]>
1 parent 13d7bbc commit 94baa12

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/unit-tests.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
uses: hashicorp/setup-terraform@v3
2222
- name: Build binaries
2323
run: make build
24+
- name: Verify go.mod is tidy
25+
run: |
26+
go mod tidy
27+
git diff --exit-code
2428
- name: Run unit tests
2529
run: make test
2630
- name: Check with go vet

0 commit comments

Comments
 (0)