Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,11 @@ updates:
prefix: "GH Actions:"
labels:
- "Type: chores/QA"
cooldown:
semver-major-days: 10
groups:
action-runners:
applies-to: version-updates
update-types:
- "minor"
- "patch"
26 changes: 13 additions & 13 deletions .github/workflows/cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Install PHP
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # master
with:
php-version: 'latest'
coverage: none
Expand All @@ -46,56 +46,56 @@ jobs:
# Install dependencies and handle caching in one go.
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
- name: Install Composer dependencies
uses: "ramsey/composer-install@v3"
uses: "ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520" # 3.1.1
with:
# Bust the cache at least once a month - output format: YYYY-MM.
custom-cache-suffix: $(date -u "+%Y-%m")

# Validate the XSD and XML files against schema.
- name: Validate Docs XSD against schema
uses: phpcsstandards/xmllint-validate@v1
uses: phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
with:
pattern: "DocsXsd/phpcsdocs.xsd"
xsd-url: "https://www.w3.org/2012/04/XMLSchema.xsd"

- name: Validate PHPCSDebug ruleset against schema
uses: phpcsstandards/xmllint-validate@v1
uses: phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
with:
pattern: "PHPCSDebug/ruleset.xml"
xsd-file: "vendor/squizlabs/php_codesniffer/phpcs.xsd"

- name: Validate docs against schema
uses: phpcsstandards/xmllint-validate@v1
uses: phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
with:
pattern: "PHPCSDebug/Docs/*/*Standard.xml"
xsd-file: "DocsXsd/phpcsdocs.xsd"

- name: Validate Project PHPCS ruleset against schema
uses: phpcsstandards/xmllint-validate@v1
uses: phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
with:
pattern: "phpcs.xml.dist"
xsd-file: "vendor/squizlabs/php_codesniffer/phpcs.xsd"

- name: "Validate PHPUnit < 10 config for use with PHPUnit 8"
uses: phpcsstandards/xmllint-validate@v1
uses: phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
with:
pattern: "phpunitlte9.xml.dist"
xsd-file: "vendor/phpunit/phpunit/schema/8.5.xsd"

- name: "Validate PHPUnit < 10 config for use with PHPUnit 9"
uses: phpcsstandards/xmllint-validate@v1
uses: phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
with:
pattern: "phpunitlte9.xml.dist"
xsd-file: "vendor/phpunit/phpunit/schema/9.5.xsd"

- name: "Validate PHPUnit 10+ config for use with PHPUnit 10"
uses: phpcsstandards/xmllint-validate@v1
uses: phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
with:
pattern: "phpunit.xml.dist"
xsd-file: "vendor/phpunit/phpunit/schema/10.5.xsd"

- name: "Validate PHPUnit 10+ config for use with PHPUnit 11"
uses: phpcsstandards/xmllint-validate@v1
uses: phpcsstandards/xmllint-validate@0fd9c4a9046055f621fca4bbdccb8eab1fd59fdc # v1.0.1
with:
pattern: "phpunit.xml.dist"
xsd-file: "vendor/phpunit/phpunit/phpunit.xsd"
Expand All @@ -118,7 +118,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

# Updating the lists can fail intermittently, typically after Microsoft has released a new package.
# This should not be blocking for this job, so ignore any errors from this step.
Expand All @@ -132,7 +132,7 @@ jobs:

# Show XML violations inline in the file diff.
- name: Enable showing XML issues inline
uses: korelstar/xmllint-problem-matcher@v1
uses: korelstar/xmllint-problem-matcher@1bd292d642ddf3d369d02aaa8b262834d61198c0 # v1.2.0

# Check code-style consistency of the XSD and XML files.
- name: Check XSD code style
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-merge-conflicts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Check PRs for merge conflicts
uses: eps1lon/actions-label-merge-conflict@v3
uses: eps1lon/actions-label-merge-conflict@1df065ebe6e3310545d4f4c4e862e43bdca146f0 # v3.0.3
with:
dirtyLabel: "Status: has merge conflict"
repoToken: ${{ secrets.GITHUB_TOKEN }}
12 changes: 6 additions & 6 deletions .github/workflows/quicktest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

# Updating the lists can fail intermittently, typically after Microsoft has released a new package.
# This should not be blocking for this job, so ignore any errors from this step.
Expand All @@ -40,7 +40,7 @@ jobs:
run: sudo apt-get install --no-install-recommends -y libxml2-utils

- name: Install PHP
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # master
with:
php-version: ${{ matrix.php }}
ini-values: error_reporting=-1, display_errors=On, display_startup_errors=On
Expand All @@ -49,7 +49,7 @@ jobs:
# Install dependencies and handle caching in one go.
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
- name: Install Composer dependencies
uses: "ramsey/composer-install@v3"
uses: "ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520" # 3.1.1
with:
# Bust the cache at least once a month - output format: YYYY-MM.
custom-cache-suffix: $(date -u "+%Y-%m")
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

# On stable PHPCS versions, allow for PHP deprecation notices.
# Unit tests don't need to fail on those for stable releases where those issues won't get fixed anymore.
Expand All @@ -134,7 +134,7 @@ jobs:
fi

- name: Install PHP
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # master
with:
php-version: ${{ matrix.php }}
ini-values: ${{ steps.set_ini.outputs.PHP_INI }}
Expand All @@ -150,7 +150,7 @@ jobs:
# Install dependencies and handle caching in one go.
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
- name: Install Composer dependencies
uses: "ramsey/composer-install@v3"
uses: "ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520" # 3.1.1
with:
# Bust the cache at least once a month - output format: YYYY-MM.
custom-cache-suffix: $(date -u "+%Y-%m")
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

# Updating the lists can fail intermittently, typically after Microsoft has released a new package.
# This should not be blocking for this job, so ignore any errors from this step.
Expand All @@ -43,7 +43,7 @@ jobs:
run: sudo apt-get install --no-install-recommends -y libxml2-utils

- name: Install PHP
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # master
with:
php-version: ${{ matrix.php }}
ini-values: error_reporting=-1, display_errors=On, display_startup_errors=On
Expand All @@ -53,7 +53,7 @@ jobs:
# Install dependencies and handle caching in one go.
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
- name: Install Composer dependencies
uses: "ramsey/composer-install@v3"
uses: "ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520" # 3.1.1
with:
composer-options: ${{ matrix.php == '8.5' && '--ignore-platform-req=php+' || '' }}
# Bust the cache at least once a month - output format: YYYY-MM.
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Setup ini config
id: set_ini
Expand All @@ -188,7 +188,7 @@ jobs:
fi

- name: Install PHP
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # master
with:
php-version: ${{ matrix.php }}
ini-values: ${{ steps.set_ini.outputs.PHP_INI }}
Expand All @@ -204,7 +204,7 @@ jobs:
# Install dependencies and handle caching in one go.
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
- name: Install Composer dependencies
uses: "ramsey/composer-install@v3"
uses: "ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520" # 3.1.1
with:
composer-options: ${{ matrix.php == '8.5' && '--ignore-platform-req=php+' || '' }}
# Bust the cache at least once a month - output format: YYYY-MM.
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ jobs:
fi

- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
ref: ${{ steps.base_branch.outputs.BRANCH }}

- name: Install PHP
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # master
with:
php-version: 'latest'
ini-values: error_reporting=-1, display_errors=On, display_startup_errors=On, log_errors_max_len=0
Expand Down Expand Up @@ -83,13 +83,13 @@ jobs:
fi

- name: Check GitHub Pages status
uses: crazy-max/ghaction-github-status@v4
uses: crazy-max/ghaction-github-status@fa6ac37620bc5d44b93e15caed498629665e9ff5 # v4.2.0
with:
pages_threshold: major_outage

- name: Deploy the website
if: success()
uses: crazy-max/ghaction-github-pages@v4
uses: crazy-max/ghaction-github-pages@df5cc2bfa78282ded844b354faee141f06b41865 # v4.2.0
with:
build_dir: 'deploy'
target_branch: 'gh-pages'
Expand Down