forked from aslan/applicant-site
fix php version in CI
This commit is contained in:
parent
748d76441e
commit
9e0e298810
|
@ -15,9 +15,10 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php-versions: [ '8.2' ]
|
php-versions: [ '8.2' ]
|
||||||
|
node-version: ['14.x', '16.x', '18.x']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up PHP ${{ matrix.php-versions }}
|
- name: Set up PHP ${{ matrix.php-versions }}
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
|
@ -27,6 +28,11 @@ jobs:
|
||||||
- name: PHP Security Checker
|
- name: PHP Security Checker
|
||||||
uses: StephaneBour/actions-php-security-checker@1.1
|
uses: StephaneBour/actions-php-security-checker@1.1
|
||||||
|
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Add keys
|
- name: Add keys
|
||||||
run: |
|
run: |
|
||||||
sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub
|
sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub
|
||||||
|
|
Loading…
Reference in New Issue