Skip to content

Commit bb2929c

Browse files
committed
always run the checks for gh workflow
1 parent 696d88d commit bb2929c

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

.github/workflows/go.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,20 @@ name: Go
55

66
on:
77
push:
8-
branches: [ "master" ]
8+
branches: ["master"]
99
pull_request:
10-
branches:
11-
- '*' # matches every branch that doesn't contain a '/'
12-
- '*/*' # matches every branch containing a single '/'
13-
- '**' # matches every branch
14-
- '!master' # excludes master
10+
branches: ["master"]
1511

1612
jobs:
17-
1813
build:
1914
runs-on: ubuntu-latest
2015
steps:
21-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v4
2217

23-
- name: Set up Go
24-
uses: actions/setup-go@v4
25-
with:
26-
go-version: '1.23'
18+
- name: Set up Go
19+
uses: actions/setup-go@v4
20+
with:
21+
go-version: "1.23"
2722

28-
- name: Test
29-
run: go test -v -cover ./...
23+
- name: Test
24+
run: go test -v -cover ./...

0 commit comments

Comments
 (0)