Skip to content

Add continous build

Add continous build #3

# This file was generated using Kotlin DSL (.github/workflows/check-all-workflow-yaml-consistency.main.kts).
# If you want to modify the workflow, please change the Kotlin file and regenerate this YAML file.
# Generated with https://github.com/typesafegithub/github-workflows-kt
name: 'Check all Workflow YAML Consistency'
on:
push: {}
pull_request: {}
jobs:
check_yaml_consistency:
name: 'Check YAML consistency'
runs-on: 'ubuntu-latest'
steps:
- id: 'step-0'
name: 'Check out'
uses: 'actions/checkout@v4'
- id: 'step-1'
name: 'Execute script'
run: 'rm ''.github/workflows/check-all-workflow-yaml-consistency.yaml'' && ''.github/workflows/check-all-workflow-yaml-consistency.main.kts'''
- id: 'step-2'
name: 'Consistency check'
run: 'git diff --exit-code ''.github/workflows/check-all-workflow-yaml-consistency.yaml'''
check_all_workflow_yaml_consistency:
name: 'Check all Workflow YAML Consistency'
runs-on: 'ubuntu-latest'
needs:
- 'check_yaml_consistency'
steps:
- id: 'step-0'
name: 'Checkout'
uses: 'actions/checkout@v4'
- id: 'step-1'
name: 'Regenerate all Workflow YAMLs'
run: 'find .github/workflows -mindepth 1 -maxdepth 1 -name ''*.main.kts'' -exec {} \;'
- id: 'step-2'
name: 'Check for Modifications'
run: 'git diff --exit-code'