File tree Expand file tree Collapse file tree 4 files changed +19
-28
lines changed Expand file tree Collapse file tree 4 files changed +19
-28
lines changed Original file line number Diff line number Diff line change @@ -121,10 +121,9 @@ jobs:
121
121
122
122
- name : Check if any fixes were needed
123
123
run : |
124
- git \
125
- diff \
126
- --color \
127
- --exit-code
124
+ git diff \
125
+ --color \
126
+ --exit-code
128
127
129
128
check-style :
130
129
name : check-style (${{ matrix.module.path }})
@@ -201,10 +200,9 @@ jobs:
201
200
202
201
- name : Check formatting
203
202
run : |
204
- git \
205
- diff \
206
- --color \
207
- --exit-code
203
+ git diff \
204
+ --color \
205
+ --exit-code
208
206
209
207
check-config :
210
208
name : check-config (${{ matrix.module.path }})
@@ -236,7 +234,6 @@ jobs:
236
234
237
235
- name : Check whether any tidying was needed
238
236
run : |
239
- git \
240
- diff \
241
- --color \
242
- --exit-code
237
+ git diff \
238
+ --color \
239
+ --exit-code
Original file line number Diff line number Diff line change @@ -116,14 +116,12 @@ jobs:
116
116
117
117
- name : Install npm dependencies
118
118
run : |
119
- task \
120
- npm:install-deps \
119
+ task npm:install-deps \
121
120
PROJECT_PATH="${{ matrix.project.path }}"
122
121
123
122
- name : Check package-lock.json
124
123
run : |
125
- git \
126
- diff \
127
- --color \
128
- --exit-code \
129
- "${{ matrix.project.path }}/package-lock.json"
124
+ git diff \
125
+ --color \
126
+ --exit-code \
127
+ "${{ matrix.project.path }}/package-lock.json"
Original file line number Diff line number Diff line change @@ -268,13 +268,10 @@ jobs:
268
268
version : 3.x
269
269
270
270
- name : Format with Prettier
271
- run : |
272
- task \
273
- general:format-prettier
271
+ run : task general:format-prettier
274
272
275
273
- name : Check formatting
276
274
run : |
277
- git \
278
- diff \
279
- --color \
280
- --exit-code
275
+ git diff \
276
+ --color \
277
+ --exit-code
Original file line number Diff line number Diff line change @@ -108,6 +108,5 @@ jobs:
108
108
- name : Check YAML
109
109
continue-on-error : ${{ matrix.configuration.continue-on-error }}
110
110
run : |
111
- task \
112
- yaml:lint \
111
+ task yaml:lint \
113
112
YAMLLINT_FORMAT=${{ matrix.configuration.format }}
You can’t perform that action at this time.
0 commit comments