<commit_before>name: Dependencies

permissions:
    contents: read

on:
    push:
        branches:
            - master
    pull_request:

env:
    PHP_VERSION: 7.4

jobs:
    composer-require-checker:
        name: Check missing composer requirements
        runs-on: ubuntu-20.04
        if: github.actor != 'dependabot[bot]'
        steps:
            -   uses: shivammathur/setup-php@v2
                with:
                  php-version: ${{ env.PHP_VERSION }}
                  tools: composer:v2
                  ini-values: variables_order=EGPCS, date.timezone=Europe/Berlin
                  extensions: intl
            -   uses: actions/checkout@v2
            -   uses: webfactory/ssh-agent@master
                with:
                    ssh-private-key: ${{ secrets.ORG_SSH_PRIVATE_KEY }}
            -   run: git clone --depth=1 git@github.com:webfactory/actions.git .github/actions
            -   uses: actions/cache@v2
                with:
                    path: vendor
                    key: composer-${{ runner.os }}-${{ env.PHP_VERSION }}-${{ hashFiles('composer.json', 'composer.lock') }}
                    restore-keys: |
                        composer-${{ runner.os }}-${{ env.PHP_VERSION }}-
                        composer-${{ runner.os }}-
            -   run: |
                    composer install --no-interaction --no-progress --ansi --no-scripts
                    composer show
                env:
                    COMPOSER_AUTH: ${{ secrets.ORG_COMPOSER_AUTH_JSON }}
            -   uses: ./.github/actions/cleanup-secrets
            -   uses: docker://webfactory/composer-require-checker:3.2.0<commit_msg>Simplify ComposerRequireChecker workflow (#7)<commit_after>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-on: ubuntu-20.04
        steps:
            -   uses: shivammathur/setup-php@v2
                with:
                  php-version: ${{ env.PHP_VERSION }}
                  tools: composer:v2
            -   uses: actions/checkout@v3
            -   uses: actions/cache@v2
                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
{'fraction_non_alphanumeric': 0.11486001435750179, 'fraction_numerical': 0.010050251256281407, 'mean_word_length': 1.361864406779661, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '344895', 'n_tokens_mistral': 826, 'n_tokens_neox': 766, 'n_words': 145}