Skip to content

Commit

Permalink
Merge pull request etcd-io#16670 from fuweid/fix-make-fix
Browse files Browse the repository at this point in the history
.github: ensure there is no change after make-fix
  • Loading branch information
ahrtr authored Sep 30, 2023
2 parents da9248d + ddc2b56 commit ddf9756
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,13 @@ jobs:
set -euo pipefail
make fix
DIFF=$(git status --porcelain)
if [ -n "$DIFF" ]; then
echo "These files were modified:"
echo
echo "$DIFF"
echo
exit 1
fi
2 changes: 1 addition & 1 deletion tools/.golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ linters:
- staticcheck
- stylecheck
- unused
- unconvert # Remove unnecessary type conversions
- unconvert # Remove unnecessary type conversions
linters-settings: # please keep this alphabetized
goimports:
local-prefixes: go.etcd.io # Put imports beginning with prefix after 3rd-party packages.
Expand Down

0 comments on commit ddf9756

Please sign in to comment.