From 304640572b253e9dbe1dd0fceed69ef8d6fd1ac9 Mon Sep 17 00:00:00 2001 From: Paul Thornthwaite Date: Wed, 26 Aug 2026 15:58:37 +0000 Subject: [PATCH] ci: Add GitHub Action for testing --- .github/workflows/test.yml | 17 +++++++++++++++++ 1 file changed, 17 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..a0b8bab --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,17 @@ +name: test +on: + push: + branches: + - master + pull_request: +jobs: + test: + name: go test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version-file: go.mod + - run: go vet ./... + - run: go test ./...