mirror of
https://github.com/rancher/steve.git
synced 2025-09-08 18:59:58 +00:00
Add go generate to CI
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
go generate ./..
|
||||
golangci-lint run
|
||||
go mod tidy
|
||||
go mod verify
|
||||
unclean=$(git status --porcelain --untracked-files=no)
|
||||
if [ -n "$unclean" ]; then
|
||||
echo "Encountered dirty repo!";
|
||||
echo "$unclean";
|
||||
exit 1;
|
||||
echo "Encountered dirty repo!"
|
||||
echo "$unclean"
|
||||
exit 1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user