File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed
Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -3,20 +3,20 @@ name: Tests and Shellcheck
33# Trigger the workflow on push or pull request
44on : [push, pull_request]
55
6+
67
78jobs :
89
910 tests :
10- name : Run bash function tests
11- runs-on : [ macos-10.15, macos-11.0 ]
11+ name : Run bash function tests on ${{ matrix.os }}
12+ runs-on : ${{ matrix.os }}
13+ strategy :
14+ matrix :
15+ os : [ macos-10.15, macos-11.0 ]
1216
1317 steps :
1418 - uses : actions/checkout@v2
1519
16- - name : Log Mac OS version information
17- run : |
18- sw_vers
19-
2020 # Run the 'java-version-tester' script and show&save (`tee`) the output to a
2121 # logfile; then grep the logfile for 'FAILED' entries which would cause grep
2222 # to exit with 0; then run 'test' command and swap the grep exit code
@@ -30,16 +30,15 @@ jobs:
3030
3131
3232 shellcheck :
33- name : Check bash syntax with shellcheck
34- runs-on : macos-latest
33+ name : Check bash syntax with shellcheck on ${{ matrix.os }}
34+ runs-on : ${{ matrix.os }}
35+ strategy :
36+ matrix :
37+ os : [ macos-10.15, macos-11.0 ]
3538
3639 steps :
3740 - uses : actions/checkout@v2
3841
39- - name : Log Mac OS version information
40- run : |
41- sw_vers
42-
4342 - name : Install shellcheck via HomeBrew
4443 run : |
4544 brew install shellcheck
You can’t perform that action at this time.
0 commit comments