jak-project/.github/workflows/linting.yaml

29 lines
649 B
YAML
Raw Normal View History

name: Lint
2020-10-09 21:08:16 -04:00
on:
push:
branches:
- '*'
2020-10-09 21:08:16 -04:00
pull_request:
branches:
- master
jobs:
lint:
name: 📝 Formatting
2020-10-09 21:08:16 -04:00
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- name: Checkout Repository
uses: actions/checkout@v3
2020-10-09 21:08:16 -04:00
- name: Get Package Dependencies
run: |
sudo apt install clang-format clang-tidy
clang-format -version
2020-10-09 21:08:16 -04:00
- name: Check Clang-Formatting
run: |
chmod +x ./third-party/run-clang-format/run-clang-format.py
./third-party/run-clang-format/run-clang-format.py -r common decompiler game goalc test tools lsp --color always