File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 3030 run : |
3131 export GOOS=linux
3232
33+ make generate
34+
35+ git diff --exit-code || (echo 'Regenerated code does not match source, please run "make generate"' && exit 1)
36+
3337 go build ./cmd/shell-operator
3438# MacOS build works fine because jq package already has static libraries.
3539# Windows build requires jq compilation, this should be done in libjq-go.
Original file line number Diff line number Diff line change 3131 echo -n "Go modules unpacked size is: " && du -sh $HOME/go/pkg/mod
3232 - name : Run golangci-lint
3333 run : |
34- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b . v2.7.2
34+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b . v2.7.1
3535 ./golangci-lint run --build-tags integration,test
3636 codespell :
3737 name : Run codespell
You can’t perform that action at this time.
0 commit comments