-
Notifications
You must be signed in to change notification settings - Fork 343
47 lines (44 loc) · 1.05 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
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_8
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.1
args: --no-interaction --no-progress --ignore-platform-reqs --no-scripts
- name: 'PHStan Custom Rules'
run: CI/PHPStan/run_legacy_ui_report.sh
- name: 'Store Report'
uses: actions/upload-artifact@v3
with:
name: Reports
path: Reports
retention-days: 30