mirror of
https://github.com/rancher/cli.git
synced 2026-02-05 18:48:50 +01:00
* enabled gofmt linter, added lint scripts, removed dapper from Makefile * added build (with arm64 support), package steps, and fossa job * github tag, and envs * upload assets * removed dapper and google cloud storage * moved checkout steps * removed drone.yml * requested changes - removed extra Test step - added check for run on PRs - added FOSSA check on release * moved fossa in its own workflow * remove manual trigger and tag check on release
15 lines
225 B
Bash
Executable File
15 lines
225 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
cd $(dirname $0)/..
|
|
|
|
echo Tidying up modules
|
|
go mod tidy
|
|
|
|
echo Verifying modules
|
|
go mod verify
|
|
|
|
if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
|
|
echo "Encountered dirty repo!"
|
|
exit 1
|
|
fi |