-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (40 loc) · 1.12 KB
/
flow-build-application.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Build Application
on:
workflow_dispatch:
inputs:
enable-unit-tests:
description: "Unit Testing Enabled"
type: boolean
required: false
default: false
push:
branches:
- main
defaults:
run:
shell: bash
jobs:
wallet-snap-lint:
name: Wallet Snap
uses: ./.github/workflows/zxc-lint-snap.yaml
with:
snap-package-dir: hedera-wallet-snap
wallet-snap-test:
name: Wallet Snap
uses: ./.github/workflows/zxc-test-snap.yaml
if: ${{ github.event_name == 'push' || github.event.inputs.enable-unit-tests == 'true' }}
with:
snap-package-dir: hedera-wallet-snap
snap-report-name: "Wallet Snap"
wallet-snap-analyze:
name: Wallet Snap
uses: ./.github/workflows/zxc-analyze-snap.yaml
needs:
- wallet-snap-test
if: ${{ github.event_name == 'push' || github.event.inputs.enable-unit-tests == 'true' }}
with:
snap-package-dir: hedera-wallet-snap
snap-report-name: "Wallet Snap"
secrets:
codecov-token: ${{ secrets.CODECOV_TOKEN }}
codacy-project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}