mirror of
https://github.com/rancher/steve.git
synced 2025-04-27 11:00:48 +00:00
13 lines
212 B
Bash
13 lines
212 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
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
|