mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
72 lines
2.5 KiB
YAML
72 lines
2.5 KiB
YAML
name: Full Stack Asset Transfer Guide 🚀
|
|
run-name: ${{ github.actor }} is testing the Full Stack Asset Transfer Guide 🚀
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches:
|
|
- "main"
|
|
- "release-2.5"
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
ansible:
|
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }}
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Set up Full Stack Runtime
|
|
uses: ./.github/actions/fsat-setup
|
|
- run: just test-ansible
|
|
working-directory: full-stack-asset-transfer-guide
|
|
|
|
appdev:
|
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }}
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Set up Full Stack Runtime
|
|
uses: ./.github/actions/fsat-setup
|
|
- run: just test-appdev
|
|
working-directory: full-stack-asset-transfer-guide
|
|
|
|
appdev-go:
|
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }}
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v6
|
|
with:
|
|
go-version-file: full-stack-asset-transfer-guide/applications/trader-go/go.mod
|
|
- name: Set up Full Stack Runtime
|
|
uses: ./.github/actions/fsat-setup
|
|
- run: just test-appdev-go
|
|
working-directory: full-stack-asset-transfer-guide
|
|
|
|
chaincode:
|
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }}
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Set up Full Stack Runtime
|
|
uses: ./.github/actions/fsat-setup
|
|
- run: just test-chaincode
|
|
working-directory: full-stack-asset-transfer-guide
|
|
|
|
cloud:
|
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }}
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Set up Full Stack Runtime
|
|
uses: ./.github/actions/fsat-setup
|
|
- run: just test-cloud
|
|
working-directory: full-stack-asset-transfer-guide
|
|
|
|
console:
|
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }}
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Set up Full Stack Runtime
|
|
uses: ./.github/actions/fsat-setup
|
|
- run: just test-console
|
|
working-directory: full-stack-asset-transfer-guide
|