Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
Add go.work check
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Sep 22, 2023
1 parent 5f5e04b commit 35dd851
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/mod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,13 @@ jobs:
git diff go.sum
exit 1
fi
if [ ! -z "$(git status --porcelain go.work)" ]; then
printf "go.work has modifications\n"
git diff go.work
exit 1
fi
if [ ! -z "$(git status --porcelain go.work.sum)" ]; then
printf "go.work.sum has modifications\n"
git diff go.work.sum
exit 1
fi

0 comments on commit 35dd851

Please sign in to comment.