fix pretty again... #5
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: MATLAB Code Quality | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| name: MATLAB Lint | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up MATLAB | |
| uses: matlab-actions/setup-matlab@v2 | |
| - name: Run MATLAB Code Analyzer | |
| uses: matlab-actions/run-command@v2 | |
| with: | |
| command: addpath('.github/scripts'); lint | |
| - name: Upload lint log | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: matlab-lint-log | |
| path: .github/scripts/lint.log | |
| if-no-files-found: ignore | |
| format: | |
| runs-on: ubuntu-latest | |
| name: MATLAB Format Check | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up MATLAB | |
| uses: matlab-actions/setup-matlab@v2 | |
| - name: Run formatting checks | |
| uses: matlab-actions/run-command@v2 | |
| with: | |
| command: addpath('.github/scripts'); format_check_simple |