From 22bd803f54cd29b76d006cc0b21bbe0bb085d440 Mon Sep 17 00:00:00 2001 From: oliverpool <3864879+oliverpool@users.noreply.github.com> Date: Mon, 14 Oct 2024 09:22:34 +0200 Subject: [PATCH] ci: initial setup --- .github/workflows/go.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..85248cd --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,22 @@ +name: Go test + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: 'stable' + + - name: Test + run: make test-go-cover