We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e884d0 commit b0257d5Copy full SHA for b0257d5
.github/workflows/go.yml
@@ -2,7 +2,7 @@ name: Go
2
3
on:
4
push:
5
- branches: [ "main" ]
+ branches: [ "main", "dev" ]
6
pull_request:
7
branches: [ "main" ]
8
@@ -28,7 +28,7 @@ jobs:
28
cd src
29
go test ./... -coverprofile cover.out
30
go tool cover -func cover.out > covered.txt
31
-
+
32
- name: Get coverage
33
run: |
34
@@ -40,7 +40,7 @@ jobs:
40
BRANCH_NAME="${PATHS[1]}_${PATHS[2]}"
41
echo $BRANCH_NAME
42
echo "BRANCH=$(echo ${BRANCH_NAME})" >> $GITHUB_ENV
43
44
- name: Create passing badge
45
uses: schneegans/dynamic-badges-action@v1.0.0
46
if: ${{ env.COVERAGE!=null }}
@@ -52,7 +52,7 @@ jobs:
52
message: Passed
53
color: green
54
namedLogo: checkmarx
55
56
- name: Create coverage badge
57
58
with:
0 commit comments