summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2024-06-10 12:23:45 +0200
committerMarc Vertes <mvertes@free.fr>2024-06-10 12:23:45 +0200
commit301ef055542b28941cd4ba0e0062bca58c364e67 (patch)
tree8892fd416fb41fef021f69d2ca59cfd73713e1a4
parent74d8d1a2c7516559e0b39d379d8df749c15d5e9f (diff)
chore: github action add test cover
-rw-r--r--.github/workflows/go.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 21391e4..55ecca8 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -7,7 +7,6 @@ on:
push:
branches: [ "main" ]
pull_request:
- branches: [ "main" ]
jobs:
@@ -20,6 +19,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: stable
+ cache: false
- name: Lint
uses: golangci/golangci-lint-action@v6
@@ -30,4 +30,4 @@ jobs:
run: go build -v ./...
- name: Test
- run: go test -v ./...
+ run: go test -cover ./...