-
-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (30 loc) · 882 Bytes
/
main.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
name: Integrity check
on:
push:
branches:
- master
pull_request:
types: [ assigned, opened, synchronize, reopened ]
schedule:
- cron: '1 */6 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install PHP
uses: shivammathur/setup-php@master
with:
php-version: 8.1
- name: Install composer deps
run: |
composer create-project nette/code-checker temp/code-checker ^3 --no-progress
composer create-project nette/coding-standard temp/coding-standard ^3 --no-progress
# Install app deps
composer install --no-interaction --prefer-dist
- name: The PHP Security Checker
uses: symfonycorp/security-checker-action@v3
- name: Check PHPStan rules
run: composer phpstan
- name: CLI booting
run: php www/index.php