Aktualisiere GHA actions/checkout
und actions/cache
(Case 171395)
#33
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 | ||
permissions: | ||
contents: read | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
env: | ||
PHP_VERSION: 8.1 | ||
jobs: | ||
composer-require-checker: | ||
name: Check missing composer requirements | ||
runs-un: ubuntu-22.04 | ||
Check failure on line 18 in .github/workflows/dependencies.yml GitHub Actions / DependenciesInvalid workflow file
|
||
steps: | ||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ env.PHP_VERSION }} | ||
coverage: none | ||
tools: composer:v2 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/cache@v4 | ||
with: | ||
path: vendor | ||
key: composer-${{ runner.os }}-${{ env.PHP_VERSION }}-${{ hashFiles('composer.json') }} | ||
restore-keys: | | ||
composer-${{ runner.os }}-${{ env.PHP_VERSION }}- | ||
composer-${{ runner.os }}- | ||
- run: | | ||
composer install --no-interaction --no-progress --ansi --no-scripts | ||
composer show | ||
- uses: docker://webfactory/composer-require-checker:3.2.0 |