This commit is contained in:
Nils
2025-08-27 11:12:15 +02:00
parent a3670a460e
commit 2347e57b4a
2 changed files with 9 additions and 1 deletions

View File

@@ -18,6 +18,14 @@ jobs:
- name: 🔧 Setup go
uses: actions/setup-go@v5
- name: 🧝‍♀️ Check formatting
run: |
if [ "$(gofmt -l . | wc -l)" -gt 0 ]; then
echo "Go files are not formatted:"
gofmt -d .
exit 1
fi
# https://github.com/marketplace/actions/run-golangci-lint
- name: 🌡️ Lint
uses: golangci/golangci-lint-action@v8