blob: 5afbc197aa35ed9713c49a19664a4dabe4006e02 (
plain)
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
|
name: Static analysis
on: [push, pull_request]
jobs:
run:
if: ${{ !startsWith(github.event.head_commit.message, 'Translation:') }}
runs-on: ${{ matrix.operating-system }}
name: phpstan
strategy:
matrix:
operating-system: [ 'ubuntu-latest' ]
php-version: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
fail-fast: false
steps:
- uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-version }}
- uses: actions/checkout@v4
- run: composer validate
- run: composer install --no-progress
- run: composer webtrees:phpcs
|