From 6d617158480a9d9ced4a4933ccff3e98421ecbfc Mon Sep 17 00:00:00 2001 From: Juan Paez Date: Thu, 24 Sep 2026 16:59:26 +0200 Subject: [PATCH] feat(ci): add GitHub Actions workflow for Go tests Co-Authored-By: Claude Sonnet 5 --- .github/workflows/workflow.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/workflow.yml diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000..310bc89 --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,30 @@ +name: main-workflow + +env: {} + +on: + push: + branches: + - master + + pull_request: + branches: + - master + +jobs: + run-tests: + runs-on: ubuntu-latest + steps: + - name: Check out source code + uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: "1.14" + + - name: Print go version + run: go version + + - name: Run unit tests + run: go test -v ./... \ No newline at end of file