Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

Commit 8bfb724

Browse files
nicksnydermmosta
authored andcommitted
Add build step (nicksnyder#226)
1 parent f86ecac commit 8bfb724

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

‎.github/workflows/build.yml‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,15 @@ jobs:
1313
go-version: 1.15.2
1414
- name: Git checkout
1515
uses: actions/checkout@v2
16-
- name: Build and test
16+
- name: Build
17+
uses: goreleaser/goreleaser-action@v2
18+
with:
19+
version: latest
20+
args: release --rm-dist --snapshot
21+
workdir: v2
22+
- name: Test
1723
working-directory: v2
18-
run: |
19-
go get -t ./...
20-
go test -race -coverprofile=coverage.txt -covermode=atomic ./...
24+
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
2125
- name: Upload coverage
2226
uses: codecov/codecov-action@v1
2327
build_1_9_7:

0 commit comments

Comments
 (0)