Skip to content

Commit ab2d460

Browse files
committed
Add build workflow
1 parent f174d6b commit ab2d460

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/build.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+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
go: [ '1.23', '1.24' ]
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Set up Go
16+
uses: actions/setup-go@v5
17+
with:
18+
go-version: ${{ matrix.go }}
19+
- name: Build
20+
run: go build -v ./...

0 commit comments

Comments
 (0)