diff options
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 7 |
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 ./... |
