Skip to content
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 (#350) #161

chore: Replace sidetree-core-go with sidetree-go (#350)

chore: Replace sidetree-core-go with sidetree-go (#350) #161

Workflow file for this run

#
# Copyright SecureKey Technologies Inc. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
name: vdr-sidetree
on:
push:
paths:
- 'component/vdr/sidetree/**'
pull_request:
paths:
- 'component/vdr/sidetree/**'
jobs:
linter:
name: Go linter
timeout-minutes: 10
env:
LINT_PATH: component/vdr/sidetree
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/sidetree
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