*(global): fix CI scripts

This commit is contained in:
Andrey Meshkov
2019-10-02 16:23:17 +03:00
parent b835baf013
commit 846f503337
2 changed files with 8 additions and 4 deletions

10
ci.sh
View File

@@ -2,15 +2,17 @@
set -e
set -x
echo "Starting AdGuard Home CI script"
# Print the current directory contents
ls -la
# Check versions and current directory
node -v
npm -v
go version
golangci-lint --version
# Print the current directory contents
ls -la
# Run linter
golangci-lint run
@@ -30,3 +32,5 @@ else
echo "Please make sure there are no changes"
exit 1
fi
echo "AdGuard Home CI script finished successfully"