Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/.release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"release-type": "php",
"packages": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/apply-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name: 🏷️ Add labels

jobs:
label:
uses: wayofdev/gh-actions/.github/workflows/apply-labels.yml@v3.1.0
uses: wayofdev/gh-actions/.github/workflows/apply-labels.yml@v3.3.0
with:
os: ubuntu-latest
secrets:
Expand Down
39 changes: 21 additions & 18 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
pull-requests: read
steps:
- name: 📦 Check out the codebase
uses: actions/[email protected].6
uses: actions/[email protected].7

- name: 🧐 Lint commits using "commitlint"
uses: wagoid/[email protected].1
uses: wagoid/[email protected].2
with:
configFile: ${{ github.workspace }}/.github/.commitlint.config.mjs
failOnWarnings: false
Expand All @@ -32,12 +32,15 @@ jobs:
yaml-linting:
timeout-minutes: 4
runs-on: ubuntu-latest
concurrency:
cancel-in-progress: true
group: yaml-linting-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
permissions:
contents: read
pull-requests: read
steps:
- name: 📦 Check out the codebase
uses: actions/[email protected].6
uses: actions/[email protected].7

- name: 🧐 Lint YAML files
uses: ibiqlik/[email protected]
Expand All @@ -54,7 +57,7 @@ jobs:
group: markdown-linting-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
steps:
- name: 📦 Check out the codebase
uses: actions/[email protected].6
uses: actions/[email protected].7

- name: 🧐 Lint Markdown files
uses: DavidAnson/[email protected]
Expand All @@ -81,16 +84,16 @@ jobs:
contents: write
steps:
- name: 🛠️ Setup PHP
uses: shivammathur/setup-php@2.30.4
uses: shivammathur/setup-php@2.33.0
with:
php-version: ${{ matrix.php-version }}
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql, iconv
ini-values: error_reporting=E_ALL
coverage: none
tools: phive

- name: 📦 Check out the codebase
uses: actions/[email protected].6
uses: actions/[email protected].7

- name: 🛠️ Setup problem matchers
run: |
Expand All @@ -100,22 +103,22 @@ jobs:
run: composer validate --ansi --strict

- name: 🔍 Get composer cache directory
uses: wayofdev/gh-actions/actions/composer/get-cache-directory@v3.1.0
uses: wayofdev/gh-actions/actions/composer/get-cache-directory@v3.3.0

- name: ♻️ Restore cached dependencies installed with composer
uses: actions/cache@v4.0.2
uses: actions/cache@v4.3.0
with:
path: ${{ env.COMPOSER_CACHE_DIR }}
key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}
restore-keys: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-

- name: 📥 Install "${{ matrix.dependencies }}" dependencies with composer
uses: wayofdev/gh-actions/actions/composer/install@v3.1.0
uses: wayofdev/gh-actions/actions/composer/install@v3.3.0
with:
dependencies: ${{ matrix.dependencies }}

- name: 📥 Install dependencies with phive
uses: wayofdev/gh-actions/actions/phive/install@v3.1.0
uses: wayofdev/gh-actions/actions/phive/install@v3.3.0
with:
phive-home: '.phive'
trust-gpg-keys: '0xC00543248C87FB13,0x033E5F8D801A2F8D'
Expand Down Expand Up @@ -146,15 +149,15 @@ jobs:
git config --global core.eol lf

- name: 🛠️ Setup PHP
uses: shivammathur/setup-php@2.30.4
uses: shivammathur/setup-php@2.33.0
with:
php-version: ${{ matrix.php-version }}
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql, iconv
ini-values: error_reporting=E_ALL
coverage: none

- name: 📦 Check out the codebase
uses: actions/[email protected].6
uses: actions/[email protected].7

- name: 🛠️ Setup problem matchers
run: |
Expand All @@ -164,17 +167,17 @@ jobs:
run: composer validate --ansi --strict

- name: 🔍 Get composer cache directory
uses: wayofdev/gh-actions/actions/composer/get-cache-directory@v3.1.0
uses: wayofdev/gh-actions/actions/composer/get-cache-directory@v3.3.0

- name: ♻️ Restore cached dependencies installed with composer
uses: actions/cache@v4.0.2
uses: actions/cache@v4.3.0
with:
path: ${{ env.COMPOSER_CACHE_DIR }}
key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}
restore-keys: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-

- name: 📥 Install "${{ matrix.dependencies }}" dependencies with composer
uses: wayofdev/gh-actions/actions/composer/install@v3.1.0
uses: wayofdev/gh-actions/actions/composer/install@v3.3.0
with:
dependencies: ${{ matrix.dependencies }}

Expand All @@ -187,7 +190,7 @@ jobs:
PHP_CS_FIXER_IGNORE_ENV: true

- name: 📤 Commit and push changed files back to GitHub
uses: stefanzweifel/git-auto-commit-action@v5.0.1
uses: stefanzweifel/git-auto-commit-action@v5.2.0
with:
commit_message: 'style(php-cs-fixer): lint php files and fix coding standards'
branch: ${{ github.head_ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🎉 Create release
uses: googleapis/release-please-action@v4.1.1
uses: googleapis/release-please-action@v4.2.0
id: release
with:
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/dependency-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---

name: 🔐 Dependency analysis

on: # yamllint disable-line rule:truthy
push:
branches:
Expand All @@ -26,6 +24,8 @@ on: # yamllint disable-line rule:truthy
- 'composer.lock'
- 'composer-require-checker.json'

name: 🔐 Dependency analysis

jobs:
dependency-analysis:
timeout-minutes: 4
Expand All @@ -45,13 +45,13 @@ jobs:

steps:
- name: 📦 Check out the codebase
uses: actions/[email protected].6
uses: actions/[email protected].7

- name: 🛠️ Setup PHP
uses: shivammathur/setup-php@2.30.4
uses: shivammathur/setup-php@2.33.0
with:
php-version: ${{ matrix.php-version }}
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql, iconv
ini-values: error_reporting=E_ALL
coverage: none
tools: phive
Expand All @@ -63,22 +63,22 @@ jobs:
run: composer validate --ansi --strict

- name: 🔍 Get composer cache directory
uses: wayofdev/gh-actions/actions/composer/get-cache-directory@v3.1.0
uses: wayofdev/gh-actions/actions/composer/get-cache-directory@v3.3.0

- name: ♻️ Restore cached dependencies installed with composer
uses: actions/cache@v4.0.2
uses: actions/cache@v4.3.0
with:
path: ${{ env.COMPOSER_CACHE_DIR }}
key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}
restore-keys: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-

- name: 📥 Install "${{ matrix.dependencies }}" dependencies
uses: wayofdev/gh-actions/actions/composer/install@v3.1.0
uses: wayofdev/gh-actions/actions/composer/install@v3.3.0
with:
dependencies: ${{ matrix.dependencies }}

- name: 📥 Install dependencies with phive
uses: wayofdev/gh-actions/actions/phive/install@v3.1.0
uses: wayofdev/gh-actions/actions/phive/install@v3.3.0
with:
phive-home: '.phive'
trust-gpg-keys: 0xC00543248C87FB13,0x033E5F8D801A2F8D
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/security-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---

name: 🔐 Security analysis

on: # yamllint disable-line rule:truthy
push:
pull_request:
branches:
- master
pull_request:
push:
branches:
- master

name: 🔐 Security analysis

jobs:
security-analysis:
timeout-minutes: 4
Expand All @@ -28,13 +28,13 @@ jobs:
- locked
steps:
- name: 📦 Check out the codebase
uses: actions/[email protected].6
uses: actions/[email protected].7

- name: 🛠️ Setup PHP
uses: shivammathur/setup-php@2.30.4
uses: shivammathur/setup-php@2.33.0
with:
php-version: ${{ matrix.php-version }}
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql, iconv
ini-values: error_reporting=E_ALL
coverage: none

Expand All @@ -45,17 +45,17 @@ jobs:
run: composer validate --ansi --strict

- name: 🔍 Get composer cache directory
uses: wayofdev/gh-actions/actions/composer/get-cache-directory@v3.1.0
uses: wayofdev/gh-actions/actions/composer/get-cache-directory@v3.3.0

- name: ♻️ Restore cached dependencies installed with composer
uses: actions/cache@v4.0.2
uses: actions/cache@v4.3.0
with:
path: ${{ env.COMPOSER_CACHE_DIR }}
key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}
restore-keys: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-

- name: 📥 Install "${{ matrix.dependencies }}" dependencies
uses: wayofdev/gh-actions/actions/composer/install@v3.1.0
- name: 📥 Install "${{ matrix.dependencies }}" dependencies with composer
uses: wayofdev/gh-actions/actions/composer/install@v3.3.0
with:
dependencies: ${{ matrix.dependencies }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:
shellcheck:
uses: wayofdev/gh-actions/.github/workflows/shellcheck.yml@v3.1.0
uses: wayofdev/gh-actions/.github/workflows/shellcheck.yml@v3.3.0
with:
os: ubuntu-latest
severity: warning
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ on: # yamllint disable-line rule:truthy
name: 🔍 Static analysis

jobs:
static-analysis:
phpstan:
timeout-minutes: 4
runs-on: ${{ matrix.os }}
concurrency:
cancel-in-progress: true
group: static-analysis-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: phpstan-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
strategy:
fail-fast: true
matrix:
Expand All @@ -50,13 +50,13 @@ jobs:
- locked
steps:
- name: 📦 Check out the codebase
uses: actions/[email protected].6
uses: actions/[email protected].7

- name: 🛠️ Setup PHP
uses: shivammathur/setup-php@2.30.4
uses: shivammathur/setup-php@2.33.0
with:
php-version: ${{ matrix.php-version }}
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql, iconv
ini-values: error_reporting=E_ALL
coverage: none

Expand All @@ -67,17 +67,17 @@ jobs:
run: composer validate --ansi --strict

- name: 🔍 Get composer cache directory
uses: wayofdev/gh-actions/actions/composer/get-cache-directory@v3.1.0
uses: wayofdev/gh-actions/actions/composer/get-cache-directory@v3.3.0

- name: ♻️ Restore cached dependencies installed with composer
uses: actions/cache@v4.0.2
uses: actions/cache@v4.3.0
with:
path: ${{ env.COMPOSER_CACHE_DIR }}
key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}
restore-keys: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-

- name: 📥 Install "${{ matrix.dependencies }}" dependencies
uses: wayofdev/gh-actions/actions/composer/install@v3.1.0
uses: wayofdev/gh-actions/actions/composer/install@v3.3.0
with:
dependencies: ${{ matrix.dependencies }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/testing-mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ jobs:
uses: actions/[email protected]

- name: 🛠️ Setup PHP
uses: shivammathur/setup-php@2.30.4
uses: shivammathur/setup-php@2.33.0
with:
php-version: ${{ matrix.php-version }}
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql, pdo_sqlsrv
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql, pdo_sqlsrv, iconv
ini-values: error_reporting=E_ALL
coverage: none

Expand All @@ -75,7 +75,7 @@ jobs:
uses: wayofdev/gh-actions/actions/composer/[email protected]

- name: ♻️ Restore cached dependencies installed with composer
uses: actions/cache@v4.0.2
uses: actions/cache@v4.3.0
with:
path: ${{ env.COMPOSER_CACHE_DIR }}
key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/testing-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ jobs:
uses: actions/[email protected]

- name: 🛠️ Setup PHP
uses: shivammathur/setup-php@2.30.4
uses: shivammathur/setup-php@2.33.0
with:
php-version: ${{ matrix.php-version }}
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql
extensions: none, ctype, dom, json, mbstring, simplexml, tokenizer, xml, xmlwriter, pdo, curl, fileinfo, pdo_mysql, iconv
ini-values: error_reporting=E_ALL
coverage: none

Expand All @@ -78,7 +78,7 @@ jobs:
uses: wayofdev/gh-actions/actions/composer/[email protected]

- name: ♻️ Restore cached dependencies installed with composer
uses: actions/cache@v4.0.2
uses: actions/cache@v4.3.0
with:
path: ${{ env.COMPOSER_CACHE_DIR }}
key: php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}
Expand Down
Loading
Loading