Skip to content

Merge pull request #7 from InertialMicrocavitationRheometry/mrodrig6-… #134

Merge pull request #7 from InertialMicrocavitationRheometry/mrodrig6-…

Merge pull request #7 from InertialMicrocavitationRheometry/mrodrig6-… #134

Workflow file for this run

name: Neatness Check
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
lint:
name: Linter for toolchain and src
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v1
with:
release: R2023a
products: "MATLAB
"
- name: Run MATLAB Linting
uses: matlab-actions/run-command@v1
with:
command: |
addpath('toolchain');
s_lint;