-
Notifications
You must be signed in to change notification settings - Fork 5
32 lines (28 loc) · 1.09 KB
/
dependencies.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Dependencies
permissions:
contents: read
on:
push:
branches:
- master
pull_request:
env:
PHP_VERSION: 8.1
jobs:
composer-require-checker:
name: Check missing composer requirements
runs-on: ubuntu-20.04
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ env.PHP_VERSION }}
tools: composer:v2
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: vendor
key: composer-${{ runner.os }}-${{ env.PHP_VERSION }}-${{ matrix.symfony-locked-version }}-${{ matrix.dependency-version }}-${{ hashFiles('composer.json') }}
restore-keys: |
composer-${{ runner.os }}-${{ env.PHP_VERSION }}-${{ matrix.symfony-locked-version }}-${{ matrix.dependency-version }}-
- run: composer install --no-interaction --no-scripts --no-progress --prefer-dist
- uses: docker://ghcr.io/webfactory/composer-require-checker:4.6.0