Skip to content

Commit

Permalink
ci: use built in -diff flag for go mod tidy
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Gleich <git@mattglei.ch>
  • Loading branch information
gleich committed Feb 4, 2025
1 parent b011588 commit 1eb425b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,4 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.23'
- run: |
go mod tidy
git diff --exit-code go.mod
git diff --exit-code go.sum
- run: go mod tidy -diff

0 comments on commit 1eb425b

Please sign in to comment.