Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit

Permalink
Revert previous commit and update action with final state
Browse files Browse the repository at this point in the history
`git diff --shortstat` will limit the output text avoiding spamming
the action output with large diffs (makes it a lot more difficult
to read) and the `--exit-code` option alone does what we want.
  • Loading branch information
Ricardo-Osorio committed Feb 15, 2022
1 parent a596412 commit 264f157
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
with:
go-version: '1.16.2'
- name: Run go tidy
run: make tidy && git diff --exit-code
run: make tidy && git diff --shortstat
- name: Run go test
run: make test
- name: Run go build
Expand Down
5 changes: 1 addition & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,5 @@ require (
k8s.io/apimachinery v0.21.3
k8s.io/client-go v0.21.3
k8s.io/klog/v2 v2.8.0
)

require (
sigs.k8s.io/controller-runtime v0.9.5
)
)

0 comments on commit 264f157

Please sign in to comment.