From f2671025c87faccb6f9c17a4346d55152f58fa59 Mon Sep 17 00:00:00 2001 From: kayos Date: Mon, 18 Jul 2022 03:47:15 -0700 Subject: [PATCH] Create go.yml --- .github/workflows/go.yml | 18 ++++++++++++++++++ 1 file changed, 18 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..86efc91 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,18 @@ +name: Go + +on: + push: + branches: [ "master", "development" ] + pull_request: + branches: [ "master" ] +jobs: + vet: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: 1.18 + - name: vet + run: go vet ./...