Skip to content

Commit

Permalink
Bump github action tools
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardecook committed Nov 4, 2021
1 parent d685dba commit 73e8c0a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 73e8c0a

Please sign in to comment.