1
0
mirror of https://github.com/rancher/norman.git synced 2025-06-01 19:55:08 +00:00
norman/scripts/validate
Steffan Tucker e8b47ab4c4
Updated dapper files
Migrated to SUSE containers, a newer version of Go, and using golangci-lint for all linting.
2022-07-26 10:40:30 -06:00

15 lines
218 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
golangci-lint run