Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
  • Loading branch information
AustinAbro321 committed Sep 5, 2024
1 parent f9c230c commit 93e1648
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-go-mod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: ./.github/actions/golang

- name: Test go mod
run: "make test-go-mod"
run: make test-go-mod

- name: Save logs
if: always()
Expand Down
4 changes: 3 additions & 1 deletion hack/check-go-mod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

set -euo pipefail

git status

if [ -z "$(git status -s go.mod go.sum)" ]; then
echo "Success!"
exit 0
else
git diff go.mod go.sum
echo "failure, please run go mod tidy and commit"
exit 1
fi

0 comments on commit 93e1648

Please sign in to comment.