g
All checks were successful
CI / test (pull_request) Successful in 37s

This commit is contained in:
2024-12-23 19:35:16 +01:00
parent de4147e29d
commit ef83e73a43
2 changed files with 18 additions and 1 deletions

View File

@@ -40,3 +40,5 @@ jobs:
run: make build
- name: test
run: make test
- name: check:format
run: make check-format

View File

@@ -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