Skip to content

Validate: 5c57c55014b3c35d46c440a71b42dc12b6dbf9b6👀 validate nothing #3

Validate: 5c57c55014b3c35d46c440a71b42dc12b6dbf9b6👀 validate nothing

Validate: 5c57c55014b3c35d46c440a71b42dc12b6dbf9b6👀 validate nothing #3

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