Skip to content

legacy-ui-checks

legacy-ui-checks #59

Workflow file for this run

name: legacy-ui-checks
on:
schedule:
# Run every 12 hours
- cron: '0 3,15 * * *'
workflow_dispatch:
inputs:
branch:
description: 'Branch to run report'
required: true
default: 'trunk'
type: choice
options:
- trunk
permissions:
contents: read
pull-requests: read
jobs:
tests:
runs-on: ubuntu-latest
outputs:
all: ${{ steps.changes.outputs.all }}
strategy:
fail-fast: false
steps:
- name: 'Checkout Code'
uses: actions/checkout@v2
with:
fetch-depth: 1
ref: trunk
- name: 'Install Dependencies'
uses: php-actions/composer@v6
with:
php_version: 8.0
args: --no-interaction --no-progress --ignore-platform-reqs --no-scripts
- name: 'PHStan Custom Rules'
run: scripts/PHPStan/run_legacy_ui_report.sh
- name: 'Store Report'
uses: actions/upload-artifact@v3
with:
name: Reports
path: Reports
retention-days: 30