Skip to content

Commit 82e6bfe

Browse files
committed
Pin actions to commit SHA
1 parent 755e436 commit 82e6bfe

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/bat.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ jobs:
8080
run: 'if [[ "${{ steps.setup_matlab.outputs.matlabroot }}" != *"MATLAB"* ]]; then exit 1; fi'
8181
shell: bash
8282
- name: Check MATLAB version
83-
uses: matlab-actions/run-command@v3
83+
uses: matlab-actions/run-command@bcd446a219949c24051c1d04a4b4e0274c42f23b # v3.2.0
8484
with:
8585
command: "${{ matrix.check-matlab }}"
8686
- name: Check toolbox version
87-
uses: matlab-actions/run-command@v3
87+
uses: matlab-actions/run-command@bcd446a219949c24051c1d04a4b4e0274c42f23b # v3.2.0
8888
with:
8989
command: "${{ matrix.check-toolbox }}"
9090
- name: Check NoOp on 2nd install
@@ -100,14 +100,14 @@ jobs:
100100
products: Image_Processing_Toolbox
101101
- name: Check additional product was installed
102102
if: matrix.os != 'windows-latest'
103-
uses: matlab-actions/run-command@v3
103+
uses: matlab-actions/run-command@bcd446a219949c24051c1d04a4b4e0274c42f23b # v3.2.0
104104
with:
105105
command: assert(any(strcmp({ver().Name},'Image Processing Toolbox')))
106106
- name: Call setup MATLAB again with different release # should not error as in issue 130
107107
uses: ./
108108
with:
109109
release: R2023b
110110
- name: Check MATLAB version
111-
uses: matlab-actions/run-command@v3
111+
uses: matlab-actions/run-command@bcd446a219949c24051c1d04a4b4e0274c42f23b # v3.2.0
112112
with:
113113
command: matlabVer = ver('matlab'); assert(strcmp(matlabVer.Release,'(R2023b)'));

0 commit comments

Comments
 (0)