88 name : Build and Test
99 runs-on : ubuntu-24.04
1010 steps :
11- - uses : actions/checkout@v6
12- - uses : actions/setup-node@v6
11+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
12+ - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
1313 with :
1414 node-version : 24
1515 - name : Perform npm tasks
1616 run : npm run ci
17- - uses : actions/upload-artifact@v7
17+ - uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
1818 with :
1919 name : built-action
2020 path : |
@@ -29,11 +29,11 @@ jobs:
2929 matrix :
3030 os : [ubuntu-latest, windows-latest, macos-latest, macos-14]
3131 steps :
32- - uses : actions/download-artifact@v8
32+ - uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
3333 with :
3434 name : built-action
3535 - name : Perform 'setup-matlab'
36- uses : matlab-actions/setup-matlab@v3
36+ uses : matlab-actions/setup-matlab@a0180c939fb1a28de13f44f7b778b912384ced1f # v3.0.1
3737 with :
3838 products : |
3939 MATLAB_Test
6363 grep "1 Incomplete" output.log
6464 shell : bash
6565 - name : Generate Model
66- uses : matlab-actions/run-command@v3
66+ uses : matlab-actions/run-command@bcd446a219949c24051c1d04a4b4e0274c42f23b # v3.2.0
6767 with :
6868 command : cd('sample'),createSampleModel('temp_model'),sltest.testmanager.createTestsFromModel('sltestfile', 'temp_model');
6969 - name : Set up diary for logging
@@ -111,18 +111,18 @@ jobs:
111111 needs : bat
112112 runs-on : ubuntu-latest
113113 steps :
114- - uses : actions/download-artifact@v8
114+ - uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
115115 with :
116116 name : built-action
117117 - name : Perform 'setup-matlab' without MATLAB Test
118- uses : matlab-actions/setup-matlab@v3
118+ uses : matlab-actions/setup-matlab@a0180c939fb1a28de13f44f7b778b912384ced1f # v3.0.1
119119 - name : Run MATLAB Tests without MATLAB Test # Test Case 1: Without MATLAB Test, no view is shown
120120 uses : ./
121121 with :
122122 source-folder : sample
123123 code-coverage-metric-level : mcdc
124124 - name : Perform 'setup-matlab' with MATLAB Test
125- uses : matlab-actions/setup-matlab@v3
125+ uses : matlab-actions/setup-matlab@a0180c939fb1a28de13f44f7b778b912384ced1f # v3.0.1
126126 with :
127127 products : |
128128 MATLAB_Test
0 commit comments