File tree Expand file tree Collapse file tree 3 files changed +51
-2
lines changed Expand file tree Collapse file tree 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
134134ly : vendor
135135 $(SYMFONY ) lint:yaml config
136136
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
139142 $(EXEC_PHP ) ./vendor/bin/security-checker security:check
140143
144+ audit-node_modules : # # npm audit (https://docs.npmjs.com/cli/audit)
145+ audit-node_modules : node_modules
146+ $(YARN ) audit
147+
141148phploc : # # PHPLoc (https://github.com/sebastianbergmann/phploc)
142149 $(QA ) phploc src/
143150
You can’t perform that action at this time.
0 commit comments