Skip to content

Commit 8ceaa42

Browse files
author
muthukrishnan.s
committed
ci: setup workflow for push and pr on master
1 parent 5fee15d commit 8ceaa42

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/go.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Go
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
pull_request:
7+
branches: ["master"]
8+
types:
9+
- opened
10+
- synchronize
11+
- reopened
12+
- review_requested
13+
pull_request_review:
14+
types:
15+
- submitted
16+
workflow_dispatch:
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
24+
- name: Set up Go
25+
uses: actions/setup-go@v4
26+
with:
27+
go-version: "1.24.2"
28+
29+
- name: Build
30+
run: go build -v ./...
31+
32+
- name: Test
33+
run: go test -v ./...

0 commit comments

Comments
 (0)