Skip to content

Commit 2548fca

Browse files
committed
add build workflow for Linux + Windows
1 parent 10a2d3b commit 2548fca

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/build.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build
2+
permissions:
3+
contents: read
4+
on:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
10+
jobs:
11+
test:
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
platform: [ubuntu-latest, windows-latest]
16+
arch: [amd64, arm64]
17+
runs-on: ${{ matrix.platform }}
18+
steps:
19+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
20+
with:
21+
go-version: 1.24.x
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
23+
- name: build
24+
env:
25+
GOARCH: ${{ matrix.arch }}
26+
run: make build

0 commit comments

Comments
 (0)