Skip to content

Upd: Remove cache. Add construct attributes #48

Upd: Remove cache. Add construct attributes

Upd: Remove cache. Add construct attributes #48

Workflow file for this run

name: mutation test
on:
push:
pull_request:
jobs:
mutation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Setup PHP versions, run checks
- name: PHP setup
uses: shivammathur/setup-php@v2
with:
php: >-
['8.2']
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run mutation
run: ./vendor/bin/infection
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}