]> git.mxchange.org Git - friendica.git/blob - .github/workflows/lint.yml
Add native php linting into CI
[friendica.git] / .github / workflows / lint.yml
1 name: Lint
2 on: pull_request
3
4 jobs:
5   php-linters:
6     runs-on: ubuntu-latest
7     strategy:
8       matrix:
9         php-versions: ['7.3', '7.4', '8.0']
10     name: php${{ matrix.php-versions }} lint
11     steps:
12       - name: Checkout
13         uses: actions/checkout@master
14       - name: Set up php${{ matrix.php-versions }}
15         uses: shivammathur/setup-php@master
16         with:
17           php-version: ${{ matrix.php-versions }}
18           coverage: none
19       - name: Lint
20         run: bin/composer.phar run lint