Skip to content

Commit 76bd585

Browse files
committed
Add a build workflow
1 parent 153be0d commit 76bd585

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: build
2+
on:
3+
workflow_dispatch:
4+
jobs:
5+
build:
6+
strategy:
7+
matrix:
8+
os: [ubuntu-24.04, macos-14, windows-2022]
9+
name: build ${{ matrix.os }}
10+
runs-on: ${{ matrix.os }}
11+
steps:
12+
- uses: actions/checkout@v5
13+
- uses: actions/setup-go@v5
14+
with:
15+
go-version: '1.25.0'
16+
- name: install ./...
17+
run: go build ./...
18+
env:
19+
CGO_ENABLED: "0"

0 commit comments

Comments
 (0)