We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12ede43 commit e71ccadCopy full SHA for e71ccad
.github/workflows/ci.yml
@@ -26,6 +26,13 @@ jobs:
26
run: |
27
go test -v ./cmd/... -coverprofile=coverage.txt -covermode=atomic
28
29
+ - name: Run Go Analysis
30
+ run: |
31
+ go vet ./cmd/...
32
+ go list -f '{{.ImportPath}}' ./cmd/... | xargs -I {} go list -e -f '{{if len .Errors}}{{.Errors}}{{end}}' {} | grep -v '^$'
33
+ go fmt ./cmd/... -w
34
+ go mod tidy
35
+
36
- name: Show Coverage
37
38
go tool cover -func=coverage.txt
.github/workflows/release.yml
@@ -2,8 +2,15 @@ name: Release
2
3
on:
4
push:
5
+ branches:
6
+ - trunk
7
tags:
- - 'v*'
8
+ - 'v*' # Active le workflow pour les tags commençant par v
9
+ pull_request:
10
11
12
+ branches-ignore:
13
+ - main
14
15
jobs:
16
release:
0 commit comments