add testing
Some checks failed
Build Golang packages / test (push) Successful in 9m53s
Build Golang packages / release (push) Has been skipped
Build Docker image / build (push) Failing after 52s

This commit is contained in:
Pieter Hollander 2025-10-04 02:00:19 +02:00
parent 99959726c8
commit cf63da919e
Signed by: pieter
SSH key fingerprint: SHA256:HbX+9cBXsop9SuvL+mELd29sK+7DehFfdVweFVDtMSg

View file

@ -10,7 +10,21 @@ on:
- "main"
jobs:
test:
runs-on: ubuntu-docker
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: '>=1.22'
cache: true
- name: Run unit tests
run: go test -v ./...
release:
needs: test
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-docker
steps: