summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-01-07 17:53:24 +0200
committerKyren223 <Kyren223@proton.me>2025-01-07 17:53:24 +0200
commit6e1b96900f8e5b7202ca635b1e9ba05204f6fec7 (patch)
tree8a9b3c5fd573b7758f7b3cd37472880758519fb5 /.github/workflows
parent8dcccbfaa47a9ad7226123942ce71d3b5c8d552a (diff)
Added formatting check to CI and broke formatting on purpose
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fff1768..bd7984d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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 ./...