mirror of
https://github.com/ivuorinen/business-data-fetcher.git
synced 2026-02-04 06:43:41 +00:00
fix(meta): composer workflow now targets 8.2 & 8.3
This commit is contained in:
15
.github/workflows/composer.yml
vendored
15
.github/workflows/composer.yml
vendored
@@ -1,3 +1,4 @@
|
||||
---
|
||||
name: PHP Composer
|
||||
|
||||
on:
|
||||
@@ -12,11 +13,20 @@ permissions:
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
# pre-installed php from 7.4 to 8.3
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
php-versions: ['8.2', '8.3']
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
|
||||
- name: Validate composer.json and composer.lock
|
||||
run: composer validate --strict
|
||||
|
||||
@@ -25,8 +35,9 @@ jobs:
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: vendor
|
||||
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
|
||||
key: ${{ runner.os }}-php-${{ matrix.php-versions }}-${{ hashFiles('**/composer.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-php-${{ matrix.php-versions }}-
|
||||
${{ runner.os }}-php-
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
Reference in New Issue
Block a user