Skip to content

Commit 13569d3

Browse files
authored
Updating codecov workflow (#51)
switching to marketplace app version 2
1 parent b080c52 commit 13569d3

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/codecov.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ on:
55
pull_request:
66

77
jobs:
8-
build:
9-
name: Code building and testing
8+
codecov:
109
runs-on: ubuntu-latest
1110
steps:
1211
- name: Checkout
@@ -17,14 +16,9 @@ jobs:
1716
with:
1817
go-version: ^1.17
1918

20-
- name: Running build from src/*.go
21-
run: |
22-
go build -o application src/*.go
23-
2419
- name: Runing tests for coverage
2520
run: |
2621
go test -race -coverprofile=coverage.out -covermode=atomic `go list ./... | grep -v vendor/`
2722
2823
- name: Uploading coverage to Codecov
29-
run: |
30-
bash <(curl -s https://codecov.io/bash)
24+
uses: codecov/codecov-action@v2

0 commit comments

Comments
 (0)