portainer/golangci-lint.sh

11 lines
161 B
Bash

#!/bin/bash
cd api
if golangci-lint run -c .golangci.yaml
then
echo "golangci-lint run successfully"
else
echo "golangci-lint run failed"
exit 1
fi