-
Notifications
You must be signed in to change notification settings - Fork 187
25 lines (24 loc) · 913 Bytes
/
cover.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Codecov
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
codecov:
runs-on: ubuntu-latest
steps:
# pinning to the sha 5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f from https://github.com/actions/checkout/releases/tag/v2.3.4
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
# pinning to the sha 331ce1d993939866bb63c32c6cbbfd48fa76fc57 from https://github.com/actions/setup-go/releases/tag/v2.1.4
- uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab
with:
go-version: "^1.18"
- name: Unit test
run: make unit-test
# pinning to the sha f32b3a3741e1053eb607407145bc9619351dc93b from https://github.com/codecov/codecov-action/releases/tag/v2.1.0
- uses: codecov/codecov-action@e3c560433a6cc60aec8812599b7844a7b4fa0d71
with:
files: ./coverage.txt