From c66856bda1fa0dda0e13ae541406168ed550692f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leandro=20L=C3=B3pez?= Date: Wed, 22 Nov 2023 17:22:22 +0000 Subject: [PATCH] Add Go GitHub workflow --- .github/workflows/go.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..2b78c8e --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,19 @@ +name: Go +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.20' + - name: Test + run: go test -v ./... + - name: Build + run: go build -v ./...