Skip to content

Commit f4ad0b5

Browse files
committed
ci: update go version
1 parent 6e73121 commit f4ad0b5

1 file changed

Lines changed: 16 additions & 17 deletions

File tree

.github/workflows/go.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,28 @@ name: Go
22

33
on:
44
push:
5-
branches: [ "v2" ]
5+
branches: ["v2"]
66
pull_request:
7-
branches: [ "v2" ]
7+
branches: ["v2"]
88

99
jobs:
10-
1110
build:
1211
runs-on: ubuntu-latest
1312
steps:
14-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v4
1514

16-
- name: Set up Go
17-
uses: actions/setup-go@v4
18-
with:
19-
go-version: '1.20'
15+
- name: Set up Go
16+
uses: actions/setup-go@v4
17+
with:
18+
go-version: "1.23"
2019

21-
- name: Build
22-
run: go build -v ./.
20+
- name: Build
21+
run: go build -v ./..
2322

24-
- name: Upload a Build Artifact
25-
uses: actions/[email protected]
26-
with:
27-
# Artifact name
28-
name: "catApi"
29-
# A file, directory or wildcard pattern that describes what to upload
30-
path: "catApi"
23+
- name: Upload a Build Artifact
24+
uses: actions/[email protected]
25+
with:
26+
# Artifact name
27+
name: "catApi"
28+
# A file, directory or wildcard pattern that describes what to upload
29+
path: "catApi"

0 commit comments

Comments
 (0)