-
Notifications
You must be signed in to change notification settings - Fork 343
55 lines (50 loc) · 1.33 KB
/
legacy-ui.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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
- release_9
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: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: dom, curl, libxml, mbstring, zip, gd, json, readline, xsl, xml, mysql
tools: composer:v2
coverage: none
- name: Install Node dependencies
run: npm clean-install --omit-dev --ignore-scripts
- name: Install Composer dependencies
run: composer install --no-interaction --no-progress --ignore-platform-reqs
- 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