Aktualisiere stefanzweifel/git-auto-commit-action auf v5 (Case 174719) #106
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dependencies | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
env: | |
PHP_VERSION: 8.1 | |
jobs: | |
composer-require-checker: | |
name: Check missing composer requirements | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Konfiguriere PHP-Version und -Einstellungen im Worker-Node | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ env.PHP_VERSION }} | |
coverage: none | |
tools: composer:v2 | |
- 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 | |
# Work around hacky "suggest" dependency vs. checking requirements | |
composer require webfactory/http-cache-bundle | |
composer show | |
- name: ComposerRequireChecker | |
uses: docker://ghcr.io/webfactory/composer-require-checker:4.8.0 |