Skip to content

Commit eb7187f

Browse files
committed
update github action
1 parent e250a28 commit eb7187f

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
@@ -4,25 +4,24 @@
44
name: Go
55

66
on:
7-
push:
8-
branches: [ "main" ]
9-
pull_request:
10-
branches: [ "main" ]
7+
push:
8+
branches: ['main']
9+
pull_request:
10+
branches: ['main']
1111

1212
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
1317

14-
build:
15-
runs-on: ubuntu-latest
16-
steps:
17-
- uses: actions/checkout@v3
18+
- name: Set up Go
19+
uses: actions/setup-go@v4
20+
with:
21+
go-version: '1.23'
1822

19-
- name: Set up Go
20-
uses: actions/setup-go@v4
21-
with:
22-
go-version: '1.20'
23+
# - name: Build
24+
# run: go build -v ./...
2325

24-
- name: Build
25-
run: go build -v ./...
26-
27-
- name: Test
28-
run: go test -v ./...
26+
- name: Test
27+
run: go test -v ./...

0 commit comments

Comments
 (0)