Skip to content

Commit 222b478

Browse files
committed
fix CI
1 parent 12ede43 commit 222b478

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ jobs:
2626
run: |
2727
go test -v ./cmd/... -coverprofile=coverage.txt -covermode=atomic
2828
29+
- name: Run Go Analysis
30+
run: |
31+
go vet ./cmd/...
32+
go list -e ./cmd/... 2>&1 | grep -v '^$'
33+
go fmt ./cmd/...
34+
go mod tidy
35+
2936
- name: Show Coverage
3037
run: |
3138
go tool cover -func=coverage.txt

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@ name: Release
22

33
on:
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

815
jobs:
916
release:

0 commit comments

Comments
 (0)