From 6de73b109d76604eb8c73567d1c03946ea205c44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A1n=20Del=20Valle?= Date: Fri, 15 Oct 2021 14:08:17 -0700 Subject: [PATCH] Bumping up CI to go1.17 and enabling CI for PRs. --- .github/workflows/main.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 665cbd8..485b6e4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,12 @@ name: CI -on: [push] +on: + push: + branches: + - master + pull_request: + branches: + - master jobs: build: @@ -12,7 +18,7 @@ jobs: - name: Setup Go for use with actions uses: actions/setup-go@v2 with: - go-version: 1.15 + go-version: 1.17 - name: Install goimports run: go get golang.org/x/tools/cmd/goimports - name: Set env with list of directories in repo containin go code