Skip to content

Commit c753e16

Browse files
authored
Add a build to check dependencies (#736)
1 parent 8024d06 commit c753e16

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/security.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Security Check
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
release:
8+
types: [ created ]
9+
10+
jobs:
11+
security:
12+
runs-on: ubuntu-latest
13+
name: PHP Security Checker
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
php: [ '8.1' ]
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v2
21+
with:
22+
fetch-depth: 0
23+
24+
- name: Cache the vulnerability database
25+
uses: actions/cache@v2
26+
id: cache-db
27+
with:
28+
path: ~/.symfony/cache
29+
key: db
30+
31+
- name: Checks dependencies for known vulnerabilities
32+
uses: symfonycorp/security-checker-action@v4

0 commit comments

Comments
 (0)