mirror of
https://github.com/rancher/steve.git
synced 2025-04-27 11:00:48 +00:00
14 lines
227 B
Bash
14 lines
227 B
Bash
#!/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
|
|
fi
|