mirror of
https://github.com/hanzo-ml/kuberay.git
synced 2026-10-30 19:48:47 +00:00
13 lines
328 B
Bash
Executable File
13 lines
328 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
dirs_to_lint="ray-operator kubectl-plugin apiserver apiserversdk"
|
|
|
|
for dir in $dirs_to_lint; do
|
|
pushd "$dir"
|
|
# exclude the SA1019 check which checks the usage of deprecated fields.
|
|
golangci-lint run --fix --exclude-files _generated.go --exclude='SA1019' --timeout 10m0s
|
|
popd
|
|
done
|