mirror of
https://github.com/portainer/portainer.git
synced 2025-07-18 21:09:40 +02:00
* use error check func, wrap db object not found * add errorlint and fix all the linting errors * add exportloopref linter and fix errors * fix incorrect error details returned on an api * fix new errors * increase linter timeout * increase timeout to 10minutes * increase timeout to 10minutes * rebase and fix new lint errors * make CE match EE * fix govet issue
11 lines
176 B
Bash
Executable file
11 lines
176 B
Bash
Executable file
|
|
#!/bin/bash
|
|
|
|
cd api
|
|
if golangci-lint run --timeout=10m -c .golangci.yaml
|
|
then
|
|
echo "golangci-lint run successfully"
|
|
else
|
|
echo "golangci-lint run failed"
|
|
exit 1
|
|
fi
|