From 120d72f8ed6c6901bd7cffdad632290765d67c3a Mon Sep 17 00:00:00 2001 From: Jan Klass Date: Thu, 14 Mar 2024 11:07:11 +0100 Subject: [PATCH] misc(ci): Add GitHub Action --- .github/workflows/go.yml | 12 ++++++++++++ 1 file changed, 12 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..61f6e1e --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,12 @@ +# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go +name: Go +on: [push, pull_request] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build + run: go build -v ./... + - name: Test + run: go test -v ./...