Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mykiwi committed Aug 17, 2019
1 parent 9d4d50b commit a526f86
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Code style

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: php-cs-fixer
run: make php-cs-fixer
- name: twigcs
run: make twigcs
- name: eslint
run: make eslint
# - name: phpstan
# run: make phpstan
14 changes: 14 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Security

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- run: make start vendor node_modules
- name: sensiolabs/security-checker
run: make security
11 changes: 9 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,17 @@ lt: vendor
ly: vendor
$(SYMFONY) lint:yaml config

security: ## Check security of your dependencies (https://security.sensiolabs.org/)
security: vendor
security: ## Check security of your dependencies
security: audit-vendor audit-node_modules

audit-vendor: ## (github.com/sensiolabs/security-checker)
audit-vendor: vendor
$(EXEC_PHP) ./vendor/bin/security-checker security:check

audit-node_modules: ## npm audit (https://docs.npmjs.com/cli/audit)
audit-node_modules: node_modules
$(YARN) audit

phploc: ## PHPLoc (https://github.com/sebastianbergmann/phploc)
$(QA) phploc src/

Expand Down

0 comments on commit a526f86

Please sign in to comment.