From 00399d77ca7edf99eccb8521b73777143abe6249 Mon Sep 17 00:00:00 2001 From: DavePearce Date: Thu, 13 Jun 2024 12:23:18 +1200 Subject: [PATCH] feat: Add initial github action This enables a github action which simply runs all the tests, including the slow ones. --- .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 00000000..29d5f1ac --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,17 @@ +name: Tests + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: '>=1.20' + - run: make test