Skip to content

add endorser sample application (#17) #3

add endorser sample application (#17)

add endorser sample application (#17) #3

#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
name: Custom Endorser Tests
on:
push:
branches: ["main"]
paths: ["custom-endorser/**"]
pull_request:
branches: ["main"]
paths: ["custom-endorser/**"]
workflow_dispatch:
jobs:
test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: custom-endorser/go.mod
cache-dependency-path: custom-endorser/go.sum
- name: Run unit tests
working-directory: custom-endorser
run: make test