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

Commit 398a80d

Browse files
authored
chore: add vdr-sidetree workflow (#43)
Signed-off-by: Firas Qutishat <firas.qutishat@securekey.com>
1 parent 31690bc commit 398a80d

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.github/workflows/vdr-sidetree.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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

0 commit comments

Comments
 (0)