@@ -40,3 +40,5 @@ jobs:
run: make build
- name: test
run: make test
- name: check:format
run: make check-format
@@ -6,3 +6,18 @@ build:
lint:
golint ./...
run:
make build
./realdyndns
format:
gofmt -w .
check-format:
@OUTPUT=$$(gofmt -l .); \
if [ -n "$$OUTPUT" ]; then \
echo "Formatter failed for:"; \
echo "$$OUTPUT"; \
exit 1; \
fi
The note is not visible to the blocked user.