Update workflow

This commit is contained in:
CrazyMax
2020-08-08 12:44:17 +02:00
parent 4eeb205797
commit cb6899983a

View File

@@ -50,16 +50,16 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
-
name: Test
run: |
go test -coverprofile=coverage.txt -covermode=atomic -race ./...
-
name: GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --skip-publish --rm-dist
-
name: Test
run: |
go test -coverprofile=coverage.txt -covermode=atomic -race ./...
-
name: Upload coverage
uses: codecov/codecov-action@v1.0.12