File tree 3 files changed +51
-2
lines changed
3 files changed +51
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Code style
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ build :
7
+
8
+ runs-on : ubuntu-latest
9
+
10
+ steps :
11
+ - uses : actions/checkout@v1
12
+
13
+ - name : php-cs-fixer
14
+ run : make php-cs-fixer
15
+
16
+ - name : twigcs
17
+ run : make twigcs
18
+
19
+ - name : eslint
20
+ run : make eslint
21
+
22
+ # - name: phpstan
23
+ # run: make phpstan
Original file line number Diff line number Diff line change
1
+ name : Security
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ build :
7
+
8
+ runs-on : ubuntu-latest
9
+
10
+ steps :
11
+ - uses : actions/checkout@v1
12
+
13
+ - run : make start vendor node_modules
14
+
15
+ - name : sensiolabs/security-checker
16
+ run : make audit-vendor
17
+
18
+ - name : yarn audit
19
+ run : make audit-node_modules
Original file line number Diff line number Diff line change @@ -134,10 +134,17 @@ lt: vendor
134
134
ly : vendor
135
135
$(SYMFONY ) lint:yaml config
136
136
137
- security : # # Check security of your dependencies (https://security.sensiolabs.org/)
138
- security : vendor
137
+ security : # # Check security of your dependencies
138
+ security : audit-vendor audit-node_modules
139
+
140
+ audit-vendor : # # (github.com/sensiolabs/security-checker)
141
+ audit-vendor : vendor
139
142
$(EXEC_PHP ) ./vendor/bin/security-checker security:check
140
143
144
+ audit-node_modules : # # npm audit (https://docs.npmjs.com/cli/audit)
145
+ audit-node_modules : node_modules
146
+ $(YARN ) audit
147
+
141
148
phploc : # # PHPLoc (https://github.com/sebastianbergmann/phploc)
142
149
$(QA ) phploc src/
143
150
You can’t perform that action at this time.
0 commit comments