diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml index adcea581..8d7f63f8 100644 --- a/.github/workflows/lint-php.yml +++ b/.github/workflows/lint-php.yml @@ -10,6 +10,8 @@ on: push: branches: - main + - master + - stable* permissions: contents: read @@ -23,7 +25,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: [ "8.2" ] + php-versions: [ "8.0", "8.1", "8.2" ] name: php-lint @@ -32,7 +34,7 @@ jobs: uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 - name: Set up php ${{ matrix.php-versions }} - uses: shivammathur/setup-php@1a18b2267f80291a81ca1d33e7c851fe09e7dfc4 # v2 + uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2 with: php-version: ${{ matrix.php-versions }} coverage: none @@ -41,7 +43,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Lint - run: cd php && composer run lint + run: composer run lint summary: permissions: