File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 55 branches : [ trunk ]
66 pull_request :
77 branches : [ trunk ]
8+ branches-ignore : [ main ]
89
910jobs :
1011 build :
2627 run : |
2728 go test -v ./cmd/... -coverprofile=coverage.txt -covermode=atomic
2829
30+ - name : Run Go Analysis
31+ run : |
32+ go vet ./cmd/...
33+ go list -f '{{.ImportPath}}' ./cmd/... | xargs -I {} go list -e -f '{{if len .Errors}}{{.Errors}}{{end}}' {} | grep -v '^$'
34+ go fmt ./cmd/... -w
35+ go mod tidy
36+
2937 - name : Show Coverage
3038 run : |
3139 go tool cover -func=coverage.txt
Original file line number Diff line number Diff line change @@ -2,8 +2,15 @@ name: Release
22
33on :
44 push :
5+ branches :
6+ - trunk
57 tags :
6- - ' v*'
8+ - ' v*' # Active le workflow pour les tags commençant par v
9+ pull_request :
10+ branches :
11+ - trunk
12+ branches-ignore :
13+ - main
714
815jobs :
916 release :
You can’t perform that action at this time.
0 commit comments