Skip to content

Validate: 5d42c7df5c0834fdb3de61413e479b9ebd27c440👀 validate nothing #4

Validate: 5d42c7df5c0834fdb3de61413e479b9ebd27c440👀 validate nothing

Validate: 5d42c7df5c0834fdb3de61413e479b9ebd27c440👀 validate nothing #4

name: ⚙️ Validate
run-name: "Validate: ${{ github.sha }}${{ (!inputs.infra && !inputs.app) && '👀 validate nothing' || ''}}${{ inputs.infra && ' ✓  infra' || '' }}${{ inputs.app && ' ✓  app' || '' }}"
on:
workflow_dispatch:
inputs:
check-infra:
description: "Validate Infra"
default: true
required: true
type: boolean
check-app:
description: "Validate App"
default: true
required: true
type: boolean
check-staging-rust:
description: "Validate Staging Rust"
default: false
required: true
type: boolean
check-prod-rust:
description: "Validate Prod Rust"
default: false
required: true
type: boolean
check-staging-swift:
description: "Validate Staging Swift"
default: false
required: true
type: boolean
check-prod-swift:
description: "Validate Prod Swift"
default: false
required: true
type: boolean
permissions:
contents: write
checks: write
id-token: write
issues: read
pull-requests: write
jobs:
ci:
name: CI
secrets: inherit
uses: ./.github/workflows/sub-ci.yml
with:
check-infra: ${{ inputs.check-infra }}
check-app: ${{ inputs.check-app }}
validate-staging-health:
name: Validate - Staging - Health
uses: ./.github/workflows/sub-validate-health.yml
secrets: inherit
with:
stage: staging
stage-url: https://staging.${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health
validate-prod-health:
name: Validate - Prod - Health
uses: ./.github/workflows/sub-validate-health.yml
secrets: inherit
with:
stage: prod
stage-url: https://${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health
validate-staging-rust:
name: Validate - Staging - Rust
if: ${{ inputs.check-staging-rust }}
uses: ./.github/workflows/sub-validate-rust.yml
secrets: inherit
with:
stage: staging
stage-url: https://staging.${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health
validate-prod-rust:
name: Validate - Prod - Rust
if: ${{ inputs.check-prod-rust }}
uses: ./.github/workflows/sub-validate-rust.yml
secrets: inherit
with:
stage: prod
stage-url: https://${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health
validate-staging-swift:
name: Validate - Staging - Swift
if: ${{ inputs.check-staging-swift }}
uses: ./.github/workflows/sub-validate-swift.yml
secrets: inherit
with:
stage: staging
stage-url: https://staging.${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health
validate-prod-swift:
name: Validate - Prod - Swift
if: ${{ inputs.check-prod-swift }}
uses: ./.github/workflows/sub-validate-swift.yml
secrets: inherit
with:
stage: prod
stage-url: https://${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health