Skip to content

Commit

Permalink
ci(PR): test if dependencies are up to date (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
FoSix authored Aug 23, 2023
1 parent 34f658e commit 5a08f98
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pr_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ jobs:
- name: Download Go dependencies
run: go get ./... && go mod tidy

- name: Check if all dependencies were commited
shell: bash
run: |
if [ "$(git status --porcelain)" ]; then
git status
exit 1
else
exit 0
fi
### Uncomment it, when tests are prepared
# - name: Test code
# run: go test -v ./...

0 comments on commit 5a08f98

Please sign in to comment.