🔍 Check Formatting #105
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: 🔍 Check Formatting | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
inputs: | |
debug: | |
type: boolean | |
description: Enable Debugging | |
jobs: | |
check-coding-style: | |
runs-on: ubuntu-latest | |
container: fedora:41 | |
steps: | |
- name: 📥 Checkout | |
uses: actions/checkout@v4 | |
- name: 🖥️ Setup Environment | |
uses: ./.github/actions/setup | |
with: | |
container: ubuntu-latest | |
install-vtk: true | |
- name: 📋 Install Dependencies | |
run: pip install -U cmakelang pyyaml | |
- name: 🐛 Debug Issues | |
if: ${{ github.event.inputs.debug == 'true' }} | |
uses: lhotari/action-upterm@v1 | |
with: | |
limit-access-to-actor: true | |
- name: 🔍 Check Format | |
run: | | |
cmake -B build | |
cmake --build build --target format-check |