Skip to content

Commit 2bd9ec5

Browse files
myleshortonclaude
andcommitted
Add GitHub Actions CI workflow
Runs build and tests with -race on every push to main and PR. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3c4e80f commit 2bd9ec5

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
go-version: ['1.24']
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- uses: actions/setup-go@v5
19+
with:
20+
go-version: ${{ matrix.go-version }}
21+
22+
- name: Build
23+
run: go build ./...
24+
25+
- name: Test
26+
run: go test -race -count=1 -timeout 60s ./...

0 commit comments

Comments
 (0)