1
0
mirror of https://github.com/rancher/norman.git synced 2025-08-10 11:42:05 +00:00
norman/scripts/validate
Krunal Hingu d173faae3f
[v1.33] Bump dependencies for 1.33 (#674)
* feat: upgrade go version and dependencies for Kubernetes 1.33 support

* fix: golangci-lint for timeout issue
2025-06-11 11:55:45 -04:00

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