Skip to content

Commit e529dab

Browse files
committed
ci: lint check only on latest matlab to avoid spurious lint
1 parent 0d4786c commit e529dab

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/composite-buildtool/action.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ runs:
66

77
steps:
88

9-
- name: Run Matlab buildtool
9+
- name: Check task
10+
if: ${{ matrix.release >= 'R2024b' || matrix.release == 'latest' || matrix.release == 'latest-including-prerelease' }}
11+
uses: matlab-actions/run-build@v2
12+
with:
13+
startup-options: ${{ matrix.startup-options }}
14+
tasks: check
15+
16+
- name: Test task
1017
if: ${{ matrix.release >= 'R2022b' || matrix.release == 'latest' || matrix.release == 'latest-including-prerelease' }}
1118
uses: matlab-actions/run-build@v2
1219
with:

buildfile.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
function plan = buildfile
22
plan = buildplan(localfunctions);
33
plan.DefaultTasks = "test";
4-
plan("test").Dependencies = "check";
54
end
65

76
function checkTask(~)

0 commit comments

Comments
 (0)