Skip to content

Commit 8002970

Browse files
committed
Add GitHub Actions CI workflow for Go testing
- Add go-ci.yml workflow to run tests on push and PR - Uses Go 1.24 as specified in go.mod - Provides status check for branch protection requirements
1 parent 77ff25a commit 8002970

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.github/workflows/go-ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Go CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Set up Go
15+
uses: actions/setup-go@v5
16+
with:
17+
go-version: '1.24'
18+
- name: Install dependencies
19+
run: go mod download
20+
- name: Run tests
21+
run: go test ./...

test/debug/debug

-52.2 MB
Binary file not shown.

0 commit comments

Comments
 (0)