mirror of
https://github.com/rancher/norman.git
synced 2025-08-10 11:42:05 +00:00
* feat: upgrade go version and dependencies for Kubernetes 1.33 support * fix: golangci-lint for timeout issue
17 lines
272 B
Bash
Executable File
17 lines
272 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
cd $(dirname $0)/..
|
|
|
|
echo Running validation
|
|
|
|
if ! command -v golangci-lint; then
|
|
echo Skipping validation: no golangci-lint available
|
|
exit
|
|
fi
|
|
|
|
echo Running: golangci-lint
|
|
export "GOROOT=$(go env GOROOT)"
|
|
golangci-lint run --fast --timeout=5m
|
|
|