Skip to content

Add baseline GitHub Actions checks #1

Add baseline GitHub Actions checks

Add baseline GitHub Actions checks #1

Workflow file for this run

name: Composer Security Audit
on:
push:
branches:
- main
pull_request:
schedule:
- cron: '0 6 * * 1'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
security:
name: Composer audit
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
coverage: none
- name: Validate Composer file
run: composer validate --no-check-publish --strict
- name: Run Composer audit
run: composer audit --locked