Skip to content

Commit

Permalink
Add build step (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksnyder committed Sep 29, 2020
1 parent d17510c commit 9926328
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@ jobs:
go-version: 1.15.2
- name: Git checkout
uses: actions/checkout@v2
- name: Build and test
- name: Build
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist --snapshot
workdir: v2
- name: Test
working-directory: v2
run: |
go get -t ./...
go test -race -coverprofile=coverage.txt -covermode=atomic ./...
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage
uses: codecov/codecov-action@v1
build_1_9_7:
Expand Down

0 comments on commit 9926328

Please sign in to comment.