Merge pull request 'ci: add Gitea Actions workflow for unit tests' (#2) from agent/gitea-repo-manager/80a0aac3 into main
CI / test (push) Has been cancelled

Reviewed-on: http://gitea.hansenits.com.au/hits/ExploreDNS/pulls/2
This commit was merged in pull request #2.
This commit is contained in:
2026-06-05 05:30:38 +00:00
+27
View File
@@ -0,0 +1,27 @@
name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.24'
cache: true
- name: Vet
run: go vet ./...
- name: Test
run: go test -v -race -coverprofile=coverage.out ./...
- name: Build
run: go build -v ./...