Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify
Browse files Browse the repository at this point in the history
nmiyake committed Nov 25, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent e7b37b4 commit b7d8b0f
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -81,16 +81,8 @@ steps:
- bash: |
git config --global core.autocrlf false
go mod tidy
if [ ! -z "$(git status --porcelain go.mod)" ]; then
printf "go.mod has modifications\n"
git diff go.mod
exit 1
fi
if [ ! -z "$(git status --porcelain go.sum)" ]; then
printf "go.sum has modifications\n"
git diff go.sum
exit 1
fi
diff -u <(echo -n) <(git diff go.mod)
diff -u <(echo -n) <(git diff go.sum)
workingDirectory: '$(modulePath)'
displayName: Ensure that module definition and checksums are correct

0 comments on commit b7d8b0f

Please sign in to comment.