This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
chore: Replace sidetree-core-go with sidetree-go #585
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Copyright SecureKey Technologies Inc. All Rights Reserved. | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
name: vdr-orb | |
on: | |
push: | |
paths: | |
- 'component/vdr/orb/**' | |
- 'test/bdd/vdr/orb/**' | |
pull_request: | |
paths: | |
- 'component/vdr/orb/**' | |
- 'test/bdd/vdr/orb/**' | |
jobs: | |
linter: | |
name: Go linter | |
timeout-minutes: 10 | |
env: | |
LINT_PATH: component/vdr/orb | |
GOLANGCI_LINT_IMAGE: "golangci/golangci-lint:v1.54.2" | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Checks linter | |
timeout-minutes: 10 | |
run: make lint | |
unitTest: | |
name: Unit test | |
runs-on: ubuntu-18.04 | |
timeout-minutes: 15 | |
env: | |
UNIT_TESTS_PATH: component/vdr/orb | |
steps: | |
- name: Setup Go 1.21 | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.21 | |
id: go | |
- uses: actions/checkout@v2 | |
- name: Run unit test | |
timeout-minutes: 15 | |
run: make unit-test | |
- name: Upload coverage to Codecov | |
timeout-minutes: 10 | |
if: github.repository == 'hyperledger/aries-framework-go-ext' | |
uses: codecov/[email protected] | |
with: | |
file: ./coverage.out | |
bddtest: | |
name: BDD test | |
timeout-minutes: 30 | |
runs-on: ubuntu-18.04 | |
steps: | |
- name: Setup Go 1.21 | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.21 | |
id: go | |
- uses: actions/checkout@v2 | |
- name: BDD test | |
timeout-minutes: 20 | |
run: | | |
echo '127.0.0.1 testnet.orb.local' | sudo tee -a /etc/hosts | |
make vdr-orb-bdd-test |