dump #1125
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: lint | |
on: [push, pull_request] | |
jobs: | |
clang-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DoozyX/[email protected] | |
with: | |
source: 'src lib' | |
exclude: 'lib/NintendoSDK lib/aarch64 lib/agl lib/eui lib/sead' | |
clangFormatVersion: 14 | |
custom-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Set up python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
cache: 'pip' | |
- name: Set up python package dependencies | |
run: pip install capstone colorama cxxfilt pyelftools ansiwrap watchdog python-Levenshtein toml | |
- name: Run custom code styling checks | |
run: tools/check-format.py |