From 73e8c0ae0bce83d320a5908ab5fc6de57d93870a Mon Sep 17 00:00:00 2001 From: Ed Cook Date: Thu, 4 Nov 2021 10:04:36 +0000 Subject: [PATCH] Bump github action tools --- .github/workflows/release.yml | 7 ++++++- .github/workflows/test.yml | 6 ++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index acf64d2..5090ee7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,12 +9,17 @@ jobs: name: Release runs-on: ubuntu-latest steps: + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.17 - name: Check out code uses: actions/checkout@v2 - name: goreleaser - uses: docker://goreleaser/goreleaser + uses: goreleaser/goreleaser-action@v2 env: GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }} with: + distribution: goreleaser args: release if: success() diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8157063..87e4756 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,12 +10,11 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.17 - id: go - name: Check out code uses: actions/checkout@v2 - name: Unit tests run: | - go get github.com/onsi/ginkgo/ginkgo@v1.13.0 + go get github.com/onsi/ginkgo/ginkgo@v1.16.5 go mod download make unit-test lint: @@ -26,10 +25,9 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.17 - id: go - name: Check out code uses: actions/checkout@v2 - name: Lint run: | - go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.24.0 + go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.43.0 make lint