mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 17:36:12 -05:00
3b155bfe38
* Open discussion * Move annotations of header-implemented functions back to `.h` files * Adjust `README.md` * Relocate annotation * linter * Comment markers in headers only, rename script, update github actions * type hint compat * Rename github action, better argparse for linter * Type hints, working test for byname ignore * Move annotation * CI rename and enable warnfail, enforce mode always on * Two step linting * or one step * continue on error * two jobs instead * Fixes --------- Co-authored-by: disinvite <disinvite@users.noreply.github.com>
32 lines
667 B
YAML
32 lines
667 B
YAML
name: Analyze
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
decomplint-isle:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Install python libraries
|
|
run: |
|
|
pip install -r tools/requirements.txt
|
|
|
|
- name: Run decomplint.py
|
|
run: |
|
|
python3 tools/decomplint/decomplint.py ISLE --module ISLE --warnfail
|
|
|
|
decomplint-lego1:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Install python libraries
|
|
run: |
|
|
pip install -r tools/requirements.txt
|
|
|
|
- name: Run decomplint.py
|
|
run: |
|
|
python3 tools/decomplint/decomplint.py LEGO1 --module LEGO1 --warnfail
|