Merge pull request #248 from sampsapursiainen/reorganize-folders-2023… #28
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 Matlab source files on main_development_branch | |
on: | |
push: | |
branches: | |
- main_development_branch | |
jobs: | |
lint-m-folder: | |
name: Run MATLAB linter on m/ | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Set up MATLAB | |
uses: matlab-actions/setup-matlab@v1 | |
- name: Run lint_mfiles on m/ | |
uses: matlab-actions/run-command@v1 | |
with: | |
command: 'utilities.lint_mfiles("m")' | |
lint-plugins-folder: | |
name: Run MATLAB linter on plugins/ | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Set up MATLAB | |
uses: matlab-actions/setup-matlab@v1 | |
- name: Run lint_mfiles on plugins/ | |
uses: matlab-actions/run-command@v1 | |
with: | |
command: 'utilities.lint_mfiles("plugins")' |