Skip to content

Commit

Permalink
Fix pull request github action
Browse files Browse the repository at this point in the history
  • Loading branch information
rntdrts committed Feb 12, 2021
1 parent 6712884 commit 67c8743
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 483 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,22 @@ jobs:
test:
strategy:
matrix:
go-version: [1.5.x, 1.6.x, 1.7.x, 1.8.x, 1.9.x]
go-version: [1.13, 1.14, 1.15]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
width:
path: go/src/github.com/${{ github.repository }}

- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}

- run: go get -t ./...

- name: Test
run: go test -coverprofile=coverage.txt -covermode=atomic
env:
GOPATH: ${{ github.workspace }}/go/

- name: Upload coverage to codecov
uses: codecov/codecov-action@v1
Loading

0 comments on commit 67c8743

Please sign in to comment.