Added formatting check to CI and broke formatting on purpose

This commit is contained in:
2025-01-07 17:53:24 +02:00
parent 8dcccbfaa4
commit 6e1b96900f
2 changed files with 6 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ on:
branches: [master]
jobs:
tests:
ci:
name: Tests
runs-on: ubuntu-latest
@@ -20,5 +20,8 @@ jobs:
with:
go-version: "1.23.2"
- name: Format code
run: test -z $(go fmt ./...)
- name: Run tests
run: go test ./...
run: go test --cover ./...