From a103af0a838d2826462a5421986415f0234cf7af Mon Sep 17 00:00:00 2001 From: Hayden Hargreaves Date: Fri, 6 Mar 2026 18:27:24 -0700 Subject: [PATCH] cicd: wrote a simple CI/CD script to run tests. --- .github/actions/test.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/actions/test.yml diff --git a/.github/actions/test.yml b/.github/actions/test.yml new file mode 100644 index 0000000..9139870 --- /dev/null +++ b/.github/actions/test.yml @@ -0,0 +1,28 @@ +name: Run Test Suite + +on: + push: + branches: + - "**" + + pull_request: + branches: + - "**" + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: "1.25.5" # Pin version + + - name: Install dependencies + run: go mod download + + - name: Run tests + run: go test -v ./...