Skip to content

Commit dedd5d6

Browse files
committed
style(go.yml): format workflow file for consistency
feat(go.yml): upgrade actions/setup-go from v4 to v5 to use latest features
1 parent 5bc430c commit dedd5d6

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/go.yml

+9-10
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,21 @@ name: Go
55

66
on:
77
push:
8-
branches: [ "main" ]
8+
branches: ["main"]
99
pull_request:
10-
branches: [ "main" ]
10+
branches: ["main"]
1111

1212
jobs:
13-
1413
build:
1514
runs-on: ubuntu-latest
1615
steps:
17-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v4
1817

19-
- name: Set up Go
20-
uses: actions/setup-go@v4
18+
- name: Set up Go
19+
uses: actions/setup-go@v5
2120

22-
- name: Build
23-
run: go build -v ./...
21+
- name: Build
22+
run: go build -v ./...
2423

25-
- name: Test
26-
run: go test -v ./...
24+
- name: Test
25+
run: go test -v ./...

0 commit comments

Comments
 (0)