From 6ffadd8231571663f34a3d41787920b8762d9b80 Mon Sep 17 00:00:00 2001 From: Conall O'Brien Date: Wed, 6 May 2026 00:41:15 +0100 Subject: [PATCH] Add GitHub Actions workflow to run unit tests Runs go test ./... on every push and pull request. --- .github/workflows/test.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..e484b9d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,16 @@ +name: Test + +on: + push: + branches: ["**"] + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version-file: go.mod + - run: go test ./...