From 1938c4afe435d0a799d8b51deaf9ae814d7ec5fb Mon Sep 17 00:00:00 2001 From: Joel Schmid <40688994+SchmidJoel@users.noreply.github.com> Date: Sat, 5 Jun 2021 19:14:10 +0200 Subject: [PATCH] Create go.yml --- .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..a05bcdb --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,22 @@ +name: Go + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.16 + + - name: Build + run: go build -v ./...