aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/michelf/php-markdown/.github/workflows/ci.yml
blob: 4103c86daea0c9685312ef9a7ed203969917e1c5 (plain) (blame)
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
name: CI
on:
    pull_request: null
    push:
        branches:
            - lib
jobs:
    tests:
        runs-on: ubuntu-latest
        strategy:
            matrix:
                php:
                  - '7.4'
                  - '8.0'
                  - '8.1'
                  - '8.2'

        name: Linting - PHP ${{ matrix.php }}
        steps:
            -   uses: actions/checkout@v2
            -   uses: shivammathur/setup-php@v2
                with:
                    php-version: ${{ matrix.php }}
                    coverage: none
                    extensions: intl
            -   run: composer install --no-progress
#            -   run: composer codestyle
            -   run: composer phpstan
                if:  matrix.php == '8.1'
            -   run: composer tests