From 69d3399c24bd7b5c2df2eff4a5c82ff551bd92b1 Mon Sep 17 00:00:00 2001 From: Jacob <16949253+PassTheMayo@users.noreply.github.com> Date: Tue, 23 Aug 2022 03:07:11 -0500 Subject: [PATCH] Add GitHub actions --- .github/workflows/go.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..39d6cf3 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,25 @@ +name: Go + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-go@v3 + with: + go-version: '1.19' + check-latest: true + + - name: Lint + run: go vet ... + + - name: Build + run: make build