This repository was archived by the owner on Mar 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ #
2
+ # Copyright SecureKey Technologies Inc. All Rights Reserved.
3
+ #
4
+ # SPDX-License-Identifier: Apache-2.0
5
+ #
6
+ name : vdr-sidetree
7
+ on :
8
+ push :
9
+ paths :
10
+ - ' component/vdr/sidetree/**'
11
+ pull_request :
12
+ paths :
13
+ - ' component/vdr/sidetree/**'
14
+ jobs :
15
+ linter :
16
+ name : Go linter
17
+ timeout-minutes : 10
18
+ env :
19
+ LINT_PATH : component/vdr/sidetree
20
+ runs-on : ubuntu-18.04
21
+ steps :
22
+ - uses : actions/checkout@v2
23
+
24
+ - name : Checks linter
25
+ timeout-minutes : 10
26
+ run : make lint
27
+ unitTest :
28
+ name : Unit test
29
+ runs-on : ubuntu-18.04
30
+ timeout-minutes : 15
31
+ env :
32
+ UNIT_TESTS_PATH : component/vdr/sidetree
33
+ steps :
34
+ - name : Setup Go 1.15
35
+ uses : actions/setup-go@v2
36
+ with :
37
+ go-version : 1.15
38
+ id : go
39
+
40
+ - uses : actions/checkout@v2
41
+
42
+ - name : Run unit test
43
+ timeout-minutes : 15
44
+ run : make unit-test
45
+
46
+ - name : Upload coverage to Codecov
47
+ timeout-minutes : 10
48
+ if : github.repository == 'hyperledger/aries-framework-go-ext'
49
+ uses : codecov/codecov-action@v1.0.14
50
+ with :
51
+ file : ./coverage.out
You can’t perform that action at this time.
0 commit comments