mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-22 09:54:54 -05:00
The format check used to check too many files, which would be worsened when introducing additional submodules.
20 lines
377 B
YAML
20 lines
377 B
YAML
name: Clang Format Check
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ubuntu64:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install clang format
|
|
run: |
|
|
sudo apt-get install -y clang-format-10
|
|
|
|
- name: Check the Formatting
|
|
run: |
|
|
./CI/formatcode.sh
|
|
./CI/check-format.sh
|