Skip to content

Commit

Permalink
added go mod tidy check
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Wilkerson <[email protected]>
  • Loading branch information
wilkermichael committed Feb 8, 2024
1 parent f64afd5 commit b824b18
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,21 @@ jobs:

- name: Build creation
run: |
make build
make build
go-mod-tidy:
name: Go mod tidy
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GOLANG_VERSION }}

- name: Checkout code
uses: actions/checkout@v4

- name: Run go mod tidy
run: |
go mod tidy
git diff --exit-code -- go.mod go.sum

0 comments on commit b824b18

Please sign in to comment.