summaryrefslogtreecommitdiffstats
path: root/.github/workflows/lint-php.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/lint-php.yml')
-rw-r--r--.github/workflows/lint-php.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml
index 62476c90..54580af5 100644
--- a/.github/workflows/lint-php.yml
+++ b/.github/workflows/lint-php.yml
@@ -16,7 +16,7 @@ on:
permissions:
contents: read
-concurrency:
+concurrency:
group: lint-php-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
@@ -25,19 +25,21 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- php-versions: ["7.4", "8.0", "8.1"]
+ php-versions: [ "7.4", "8.0", "8.1", "8.2" ]
name: php-lint
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
- name: Set up php ${{ matrix.php-versions }}
- uses: shivammathur/setup-php@v2
+ uses: shivammathur/setup-php@1a18b2267f80291a81ca1d33e7c851fe09e7dfc4 # v2
with:
php-version: ${{ matrix.php-versions }}
coverage: none
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Lint
run: composer run lint