Skip to content

Commit 71bb19a

Browse files
authored
ci: set up build workflow
1 parent 6da53af commit 71bb19a

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/go.yml

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

0 commit comments

Comments
 (0)