From 6ad9475696488f7b08c3b984226fd45d49b4207f Mon Sep 17 00:00:00 2001 From: Ed Cook Date: Fri, 19 Jun 2020 12:41:56 +0100 Subject: [PATCH] Bump versions for github actions - setup-go v2 fixes https://github.com/actions/setup-go/issues/14 --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b2c381..acf64d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: goreleaser uses: docker://goreleaser/goreleaser env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index af5677d..1340a0d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,15 +7,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v2 with: go-version: 1.14 id: go - name: Check out code - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Unit tests run: | - export PATH=$PATH:$(go env GOPATH)/bin # temporary fix. See https://github.com/actions/setup-go/issues/14 go get github.com/onsi/ginkgo/ginkgo@v1.12.0 go mod download make unit-test @@ -24,14 +23,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v2 with: go-version: 1.14 id: go - name: Check out code - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Lint run: | - export PATH=$PATH:$(go env GOPATH)/bin # temporary fix. See https://github.com/actions/setup-go/issues/14 go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.24.0 make lint