Add Gitea workflow for build and test

This commit is contained in:
2026-05-09 00:11:17 +02:00
parent e4ec46e92e
commit 8805c79a34
+23
View File
@@ -0,0 +1,23 @@
name: Build and Test
on: [push, pull_request]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Install dependencies
run: go mod download
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...