Skip to content

Commit 735a8d5

Browse files
Add CI workflow for Go build on pull requests
1 parent aa3323a commit 735a8d5

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Go Build
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Set up Go
15+
uses: actions/setup-go@v5
16+
with:
17+
go-version: '1.23' # You can change this to your desired Go version
18+
19+
- name: Build
20+
run: go build -v ./...

0 commit comments

Comments
 (0)