Add GitHub Actions CI

This commit is contained in:
2026-04-04 20:16:36 +03:00
parent d6aceaea18
commit 8d7588ed18
2 changed files with 26 additions and 0 deletions

25
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: CI
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run tests
run: go test ./...
- name: Build CLI
run: go build ./cmd/mcstatus