Skip to content

Commit 9502123

Browse files
committed
chore: bump go version in Github Actions
1 parent 1a131d8 commit 9502123

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/go.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v3
1818
with:
19-
go-version: 1.19.1
19+
go-version: 1.24.x
2020

2121
- name: Get coverage tool
2222
run: |
@@ -27,7 +27,7 @@ jobs:
2727
BRANCH_NAME="${PATHS[1]}_${PATHS[2]}"
2828
echo $BRANCH_NAME
2929
echo "BRANCH=$(echo ${BRANCH_NAME})" >> $GITHUB_ENV
30-
30+
3131
- name: Create failing badge
3232
uses: schneegans/dynamic-badges-action@v1.0.0
3333
with:
@@ -44,14 +44,14 @@ jobs:
4444
cd application/backend
4545
go test ./... -coverprofile cover.out
4646
go tool cover -func cover.out > covered.txt
47-
47+
4848
- name: Get coverage
4949
run: |
5050
cd application/backend
5151
for word in $(cat covered.txt); do total_percent=$word; done
5252
echo $total_percent
5353
echo "COVERAGE=$total_percent" >> $GITHUB_ENV
54-
54+
5555
- name: Create passing badge
5656
uses: schneegans/dynamic-badges-action@v1.0.0
5757
if: ${{ env.COVERAGE!=null }}
@@ -63,7 +63,7 @@ jobs:
6363
message: Passed
6464
color: green
6565
namedLogo: checkmarx
66-
66+
6767
- name: Create coverage badge
6868
uses: schneegans/dynamic-badges-action@v1.0.0
6969
if: ${{ env.COVERAGE!=null }}

0 commit comments

Comments
 (0)