build: Update the RequirementChecker (#1144) #1060
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Security | |
on: | |
push: | |
branches: [ main ] | |
pull_request: ~ | |
schedule: | |
# Do not make it the first of the month and/or midnight since it is a very busy time | |
- cron: "* 10 5 * *" | |
release: | |
types: [ created ] | |
# See https://stackoverflow.com/a/72408109 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
TERM: xterm | |
jobs: | |
security: | |
runs-on: ubuntu-latest | |
name: Audit Dependencies | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Cache the vulnerability database | |
uses: actions/cache@v3 | |
id: cache-db | |
with: | |
path: ~/.symfony/cache | |
key: db | |
- name: Checks dependencies for known vulnerabilities | |
uses: symfonycorp/security-checker-action@v4 |