We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df230ef commit ab60fe7Copy full SHA for ab60fe7
.github/workflows/php-linter.yml
@@ -3,6 +3,9 @@ name: php-linter
3
4
on: [push, pull_request]
5
6
+env:
7
+ PHP_VERSION: '8.1'
8
+
9
permissions:
10
contents: read
11
@@ -11,13 +14,13 @@ jobs:
14
runs-on: ubuntu-latest
12
15
steps:
13
16
- name: Checkout
- uses: actions/checkout@v3
17
+ uses: actions/checkout@v4
18
19
- name: Update apt cache
20
run: sudo apt-get update
21
- - name: Install php 8.1
- run: sudo apt-get install php8.1-cli
22
+ - name: Install php ${{ env.PHP_VERSION }}
23
+ run: sudo apt-get install php${{ env.PHP_VERSION }}-cli
24
25
- name: Validate composer.json and composer.lock
26
run: composer validate --strict
0 commit comments