-
Notifications
You must be signed in to change notification settings - Fork 1
66 lines (64 loc) · 2.43 KB
/
depedencies.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
on: [push]
name: Dependencies
env:
PHP_VERSION: 7.2
PHP_8_VERSION: 8.1
jobs:
composer-require-checker:
name: Check missing composer requirements (PHP 7.2)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Configure Composer
run: |
mkdir -p ~/.composer/cache
- name: Konfiguriere PHP-Version und -Einstellungen im Worker-Node
uses: shivammathur/setup-php@v2
with:
php-version: ${{ env.PHP_VERSION }}
tools: composer:v2
ini-values: variables_order=EGPCS
# Falls spezielle Extensions installiert werden müssen:
# extensions: intl, mbstring
- name: Cache Composer Dependencies
uses: actions/cache@v1
with:
path: vendor/
key: composer-${{ env.PHP_VERSION }}-${{ hashFiles('composer.*') }}
restore-keys: |
composer-${{ env.PHP_VERSION }}-${{ github.ref }}
composer-${{ env.PHP_VERSION }}-
- run: |
composer install --no-interaction --no-scripts --no-progress --no-suggest
composer show
- name: ComposerRequireChecker
uses: docker://webfactory/composer-require-checker:3.2.0
composer-require-checker_PHP81:
name: Check missing composer requirements (PHP 8.1)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Configure Composer
run: |
mkdir -p ~/.composer/cache
- name: Konfiguriere PHP-Version und -Einstellungen im Worker-Node
uses: shivammathur/setup-php@v2
with:
php-version: ${{ env.PHP_8_VERSION }}
tools: composer:v2
ini-values: variables_order=EGPCS
# Falls spezielle Extensions installiert werden müssen:
# extensions: intl, mbstring
- name: Cache Composer Dependencies
uses: actions/cache@v1
with:
path: vendor/
key: composer-${{ env.PHP_8_VERSION }}-${{ hashFiles('composer.*') }}
restore-keys: |
composer-${{ env.PHP_8_VERSION }}-${{ github.ref }}
composer-${{ env.PHP_8_VERSION }}-
- run: |
composer install --no-interaction --no-scripts --no-progress --no-suggest
composer show
- name: ComposerRequireChecker
uses: docker://ghcr.io/webfactory/composer-require-checker:4.6.0