Files
godot-visual-script/.github/workflows/static_checks.yml
K. S. Ernest (iFire) Lee ed84d33890 Restore Godot engine builds.
2022-12-03 10:44:08 -08:00

27 lines
740 B
YAML

name: 📊 Static Checks
on: [push, pull_request]
concurrency:
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-static-checks
cancel-in-progress: true
jobs:
static-checks:
name: Formatting (clang-format, file format)
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get install -qq dos2unix recode clang-format
- name: File formatting checks (file_format.sh)
run: |
bash ./.github/workflows/scripts/file_format.sh
- name: Style checks via clang-format (clang_format.sh)
run: |
bash ./.github/workflows/scripts/clang_format.sh