diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index 2a7052d..94ec31a 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -34,10 +34,10 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout" - uses: "actions/checkout@v4" + uses: "actions/checkout@v5" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.31.1" + uses: "shivammathur/setup-php@2.35.5" with: coverage: "xdebug" extensions: "${{ inputs.php-extensions }}" diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index dbdf72a..4fc96cf 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -31,7 +31,7 @@ on: # yamllint disable-line rule:truthy jobs: coding-standards: name: "Coding Standards" - runs-on: "ubuntu-20.04" + runs-on: "ubuntu-latest" strategy: matrix: @@ -40,10 +40,10 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4" + uses: "actions/checkout@v5" - name: "Install PHP" - uses: "shivammathur/setup-php@2.31.1" + uses: "shivammathur/setup-php@2.35.5" with: coverage: "none" php-version: "${{ matrix.php-version }}" diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 33c2560..990204b 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -41,7 +41,7 @@ jobs: extensions: "${{ steps.supported-versions-matrix.outputs.extensions }}" version: "${{ steps.supported-versions-matrix.outputs.version }}" steps: - - uses: "actions/checkout@v4" + - uses: "actions/checkout@v5" if: "${{ inputs.php-versions == 'auto-detect' }}" - id: "supported-versions-detect" @@ -79,10 +79,10 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4" + uses: "actions/checkout@v5" - name: "Set up PHP" - uses: "shivammathur/setup-php@2.31.1" + uses: "shivammathur/setup-php@2.35.5" with: coverage: "none" extensions: "${{ inputs.php-extensions }}" @@ -106,4 +106,4 @@ jobs: custom-cache-suffix: $(date -u "+%Y-%m") # yamllint disable-line rule:quoted-strings - name: "Run tests with phpunit/phpunit" - run: "vendor/bin/phpunit --colors=always --testsuite=${{ inputs.test-suite }} --no-coverage" + run: "vendor/bin/phpunit --colors=always --testsuite=${{ inputs.test-suite }} --no-coverage" diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index a269727..d0c1fb5 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -13,7 +13,7 @@ jobs: steps: - name: "Dependabot metadata" id: "metadata" - uses: "dependabot/fetch-metadata@v2.2.0" + uses: "dependabot/fetch-metadata@v2.4.0" with: github-token: "${{ secrets.GITHUB_TOKEN }}" - name: "Enable auto-merge for Dependabot PRs" diff --git a/.github/workflows/dependency-analysis.yml b/.github/workflows/dependency-analysis.yml index b1d87ac..5a83d50 100644 --- a/.github/workflows/dependency-analysis.yml +++ b/.github/workflows/dependency-analysis.yml @@ -40,10 +40,10 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4" + uses: "actions/checkout@v5" - name: "Install PHP" - uses: "shivammathur/setup-php@2.31.1" + uses: "shivammathur/setup-php@2.35.5" with: coverage: "none" php-version: "${{ matrix.php-version }}" diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a93d566..d54def3 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -13,7 +13,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4" + uses: "actions/checkout@v5" - name: "Render Documentation" uses: "docker://phpdoc/phpdoc:latest" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6ba9664..e521dc8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,6 +8,11 @@ on: # yamllint disable-line rule:truthy default: "8.0" required: false type: "string" + php-extensions: + description: "The php extensions to install, allowing composer to pass" + default: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo" + required: false + type: "string" composer-options: description: "Additional flags for the composer validate command." default: "--ansi --strict" @@ -32,7 +37,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4" + uses: "actions/checkout@v5" - name: "Lint YAML files" uses: "ibiqlik/action-yamllint@v3.1" @@ -42,10 +47,10 @@ jobs: strict: true - name: "Set up PHP" - uses: "shivammathur/setup-php@2.31.1" + uses: "shivammathur/setup-php@2.35.5" with: coverage: "none" - extensions: "none, ctype, dom, json, mbstring, phar, simplexml, tokenizer, xml, xmlwriter, fileinfo" + extensions: "${{ inputs.php-extensions }}" php-version: "${{ matrix.php-version }}" - name: "Validate composer.json and composer.lock" diff --git a/.github/workflows/self-integrate.yml b/.github/workflows/self-integrate.yml index 0e9c991..09d1bdd 100644 --- a/.github/workflows/self-integrate.yml +++ b/.github/workflows/self-integrate.yml @@ -11,7 +11,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout" - uses: "actions/checkout@v4" + uses: "actions/checkout@v5" - name: "Lint YAML files" uses: "ibiqlik/action-yamllint@v3.1" diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 86ffc53..ced13e3 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -41,10 +41,10 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v4" + uses: "actions/checkout@v5" - name: "Install PHP" - uses: "shivammathur/setup-php@2.31.1" + uses: "shivammathur/setup-php@2.35.5" with: coverage: "none" php-version: "${{ matrix.php-version }}"