Add 10 utility abstractions: debounce, throttle, notepriority, cache, listdiff, ringbuf, dict.defaults, state.latch, notecluster, schmitt.edge~ #166
This file contains hidden or 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: Validate MaxMSP Patches | |
| on: [push, pull_request] | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Enforce patch evolution policy | |
| run: python3 tools/check_patch_policy.py | |
| - name: Find and validate patches | |
| run: | | |
| files=$(find . -name '*.maxpat' -o -name '*.amxd' | sort) | |
| if [ -z "$files" ]; then | |
| echo "No .maxpat or .amxd files found, skipping." | |
| exit 0 | |
| fi | |
| echo "Validating: $files" | |
| echo "$files" | xargs python3 tools/validate_maxpat.py -v |