Update Documentation & Github Actions #3
Workflow file for this run
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: | |
jobs: | |
check-coding-style: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📥 Checkout | |
uses: actions/checkout@v3 | |
- name: 📋 Install Dependencies | |
run: pip install -U cmakelang | |
- name: 🏗️ Format | |
run: ./format-project.sh | |
- name: 🔍 Check changes | |
run: | | |
if [[ $(git diff-index --name-only --exit-code HEAD) ]]; then | |
git diff | |
exit -1 | |
fi |