CI: rename ci folder to consistent naming (MR 10)

part of https://gitlab.com/postmarketOS/postmarketos/-/issues/26
This commit is contained in:
bo41
2021-09-14 18:28:50 +02:00
committed by Clayton Craft
parent 829009250c
commit 6400871749
2 changed files with 1 additions and 1 deletions

13
.ci/check_linting.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
echo "### Running gofmt..."
files="$(gofmt -l .)"
if [ ! -z "$files" ]; then
# run gofmt to print out the diff of what needs to be changed
gofmt -d -e .
exit 1
fi
echo "### Running staticcheck..."
staticcheck ./...