Skip to content

Commit 563be75

Browse files
authored
Merge pull request #43 from ToshY/feature/dev-tools-update
updated security workflow
2 parents 64d4c61 + 96b702a commit 563be75

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

.github/workflows/phpcs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
php-versions: ['8.0', '8.1']
17+
1718
steps:
1819
- name: Checkout
1920
uses: actions/checkout@v3

.github/workflows/phpmd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
php-versions: ['8.0', '8.1']
17-
composer-dependencies: ['lowest', 'highest']
17+
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v3

.github/workflows/security.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,37 @@
11
name: Security Check
22

33
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
410
schedule:
5-
- cron: '0 3 * * *'
11+
- cron: '0 3 * * 0'
612

713
jobs:
814
build:
915
name: Security check
1016
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
php-versions: [ '8.0', '8.1' ]
1120

1221
steps:
1322
- name: Checkout
1423
uses: actions/checkout@v3
1524

25+
- name: Setup PHP
26+
uses: shivammathur/setup-php@v2
27+
with:
28+
php-version: ${{ matrix.php-versions }}
29+
30+
- name: Install Composer dependencies
31+
uses: ramsey/composer-install@v2
32+
with:
33+
composer-options: '--prefer-stable'
34+
1635
- name: Check for vulnerabilities
1736
uses: symfonycorp/security-checker-action@v5
1837
with:

0 commit comments

Comments
 (0)