Skip to content

Commit f581c48

Browse files
authored
ci: Push on main branch only (#8)
1 parent 31020dc commit f581c48

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/go-test.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ name: Go Test
22

33
on:
44
push:
5-
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
5+
branches:
6+
- main
87

98
jobs:
10-
119
build:
1210
runs-on: ubuntu-latest
1311
steps:
@@ -22,4 +20,4 @@ jobs:
2220
run: go build -v ./...
2321

2422
- name: Test
25-
run: go test -v ./...
23+
run: go test -v ./...

0 commit comments

Comments
 (0)