Skip to content

Commit

Permalink
Bump versions for github actions
Browse files Browse the repository at this point in the history
- setup-go v2 fixes actions/setup-go#14
  • Loading branch information
edwardecook committed Jun 19, 2020
1 parent 4848184 commit 6ad9475
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
go mod download
make unit-test
Expand All @@ -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/[email protected]
make lint

0 comments on commit 6ad9475

Please sign in to comment.