Skip to content

BrauBeviale, listopad 2024 #90

BrauBeviale, listopad 2024

BrauBeviale, listopad 2024 #90

Workflow file for this run

name: Check code style and test
on:
pull_request:
branches:
- master
jobs:
validate:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/[email protected]
- name: Cache composer dependencies
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
coverage: none
- name: Install PHP dependencies
run: |
composer install
- name: Run code style checker
run: |
composer cs
- name: Run tests
run: |
composer test