Skip to content

Commit edbfb13

Browse files
kyleconroyclaude
andcommitted
ci: add GitHub Actions workflow running go build and go test
Uses go-version-file so CI picks up the go.mod toolchain (go1.26.4); tests run with the race detector. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent f21d767 commit edbfb13

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)