Skip to content

Commit 8f08a19

Browse files
committed
ci(workflow): use golang 1.24
1 parent e0d90bd commit 8f08a19

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.github/workflows/workflow.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,35 @@ name: CI
22
on:
33
push:
44
branches:
5-
- master
6-
- staging
7-
- develop
5+
- master
6+
- staging
7+
- develop
88
pull_request:
99
branches:
10-
- master
11-
- staging
12-
- develop
10+
- master
11+
- staging
12+
- develop
1313
jobs:
1414
test:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v2
18-
- name: Setup Go
19-
uses: actions/setup-go@v2
20-
with:
21-
go-version: '1.17'
22-
- name: Run vet
23-
run: go vet ./...
24-
- name: Run tests
25-
run: go test -v -coverprofile=profile.cov ./...
26-
- name: Send coverage
27-
uses: shogo82148/actions-goveralls@v1
28-
with:
29-
path-to-profile: profile.cov
30-
flag-name: ${{ matrix.go }}
31-
parallel: true
32-
- name: Run build
33-
run: go build .
17+
- uses: actions/checkout@v2
18+
- name: Setup Go
19+
uses: actions/setup-go@v2
20+
with:
21+
go-version: "1.24"
22+
- name: Run vet
23+
run: go vet ./...
24+
- name: Run tests
25+
run: go test -v -coverprofile=profile.cov ./...
26+
- name: Send coverage
27+
uses: shogo82148/actions-goveralls@v1
28+
with:
29+
path-to-profile: profile.cov
30+
flag-name: ${{ matrix.go }}
31+
parallel: true
32+
- name: Run build
33+
run: go build .
3434
coverage:
3535
needs: test
3636
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)