refactor: transaction and stealth payment methods in CommandReceiver #19
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
name: build tangram wallet | |
on: | |
push: | |
branches: | |
- '**' | |
tags-ignore: | |
- 'v*.*.*' | |
paths-ignore: | |
- '**/LICENSE' | |
- '**/*.md' | |
- '**/*.json' | |
- 'install/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
DOTNET_NOLOGO: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
steps: | |
- name: Setup .NET Core 6.0 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.x' | |
- name: Checkout latest | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Lint code base | |
uses: github/[email protected] | |
env: | |
DEFAULT_BRANCH: master | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VALIDATE_ALL_CODEBASE: false | |
# VALIDATE_BASH: true | |
VALIDATE_CSHARP: true | |
VALIDATE_DOCKERFILE: true | |
# TODO: Enable JSCPD before mainnet. Until then, duplicate code may exist. | |
# VALIDATE_JSCPD: true | |
VALIDATE_JSON: true | |
VALIDATE_MARKDOWN: true | |
VALIDATE_POWERSHELL: true | |
VALIDATE_SHELL_SHFMT: true | |
- name: Run unit tests | |
run: dotnet test | |
- name: Build wallet | |
run: | | |
dotnet restore bamboo.sln | |
dotnet publish cli --output publish/cli --configuration Release | |
- name: Archive build artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dist | |
path: | | |
${{ github.workspace }}/publish/cli/ |