Skip to content

Aktualisiere GHA actions/checkout und actions/cache (Case 171395) #103

Aktualisiere GHA actions/checkout und actions/cache (Case 171395)

Aktualisiere GHA actions/checkout und actions/cache (Case 171395) #103

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
env:
SYMFONY_DEPRECATIONS_HELPER: weak
jobs:
PHPUnit:
runs-un: ubuntu-22.04

Check failure on line 15 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 15, Col: 9): Unexpected value 'runs-un' .github/workflows/tests.yml (Line: 15, Col: 9): Required property is missing: runs-on
strategy:
fail-fast: false
matrix:
include:
- { php-version: 7.2, symfony-locked-version: none, dependency-version: prefer-lowest }
- { php-version: 7.4, symfony-locked-version: 5.3.*, dependency-version: prefer-stable }
- { php-version: 8.1, symfony-locked-version: none, dependency-version: prefer-stable }
- { php-version: 8.2, symfony-locked-version: none, dependency-version: prefer-stable }
- { php-version: 8.3, symfony-locked-version: none, dependency-version: prefer-stable }
name: PHPUnit (PHP ${{matrix.php-version}}, Symfony Version Lock ${{ matrix.symfony-locked-version }}, ${{ matrix.dependency-version }})
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
tools: composer:v2
- uses: actions/cache@v4
with:
path: vendor
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ matrix.symfony-locked-version }}-${{ matrix.dependency-version }}-${{ hashFiles('composer.json') }}
restore-keys: |
composer-${{ runner.os }}-${{ matrix.php-version }}-${{ matrix.symfony-locked-version }}-${{ matrix.dependency-version }}-
- run: VERSION=${{ matrix.symfony-locked-version }} .github/workflows/lock-symfony-version.sh
if: matrix.symfony-locked-version != 'none'
- run: composer update --${{ matrix.dependency-version }} --no-interaction --no-scripts --no-progress --ansi
- run: composer show
- run: vendor/bin/phpunit