Skip to content

Commit b0257d5

Browse files
committed
feat: add "dev" branch in Githib Workflow
1 parent 5e884d0 commit b0257d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/go.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Go
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: [ "main", "dev" ]
66
pull_request:
77
branches: [ "main" ]
88

@@ -28,7 +28,7 @@ jobs:
2828
cd src
2929
go test ./... -coverprofile cover.out
3030
go tool cover -func cover.out > covered.txt
31-
31+
3232
- name: Get coverage
3333
run: |
3434
cd src
@@ -40,7 +40,7 @@ jobs:
4040
BRANCH_NAME="${PATHS[1]}_${PATHS[2]}"
4141
echo $BRANCH_NAME
4242
echo "BRANCH=$(echo ${BRANCH_NAME})" >> $GITHUB_ENV
43-
43+
4444
- name: Create passing badge
4545
uses: schneegans/dynamic-badges-action@v1.0.0
4646
if: ${{ env.COVERAGE!=null }}
@@ -52,7 +52,7 @@ jobs:
5252
message: Passed
5353
color: green
5454
namedLogo: checkmarx
55-
55+
5656
- name: Create coverage badge
5757
uses: schneegans/dynamic-badges-action@v1.0.0
5858
with:

0 commit comments

Comments
 (0)