Update website

This commit is contained in:
Guilhem Lavaux 2024-11-19 08:02:04 +01:00
parent 4413528994
commit 1d90fbf296
6865 changed files with 1091082 additions and 0 deletions

View file

@ -0,0 +1,29 @@
name: "Coding Standards"
on:
pull_request:
branches:
- "*.x"
paths:
- ".github/workflows/coding-standards.yml"
- "composer.*"
- "lib/**"
- "phpcs.xml.dist"
- "tests/**"
push:
branches:
- "*.x"
paths:
- ".github/workflows/coding-standards.yml"
- "composer.*"
- "lib/**"
- "phpcs.xml.dist"
- "tests/**"
jobs:
coding-standards:
name: "Coding Standards"
uses: "doctrine/.github/.github/workflows/coding-standards.yml@3.0.0"
with:
php-version: "8.1"

View file

@ -0,0 +1,20 @@
name: "Composer Lint"
on:
pull_request:
branches:
- "*.x"
paths:
- ".github/workflows/composer-lint.yml"
- "composer.json"
push:
branches:
- "*.x"
paths:
- ".github/workflows/composer-lint.yml"
- "composer.json"
jobs:
composer-lint:
name: "Composer Lint"
uses: "doctrine/.github/.github/workflows/composer-lint.yml@3.0.0"

View file

@ -0,0 +1,32 @@
name: "Continuous Integration"
on:
push:
branches:
- "*.x"
paths:
- ".github/workflows/continuous-integration.yml"
- "composer.*"
- "lib/**"
- "phpunit.xml.dist"
- "tests/**"
pull_request:
branches:
- "*.x"
paths:
- ".github/workflows/continuous-integration.yml"
- "composer.*"
- "lib/**"
- "phpunit.xml.dist"
- "tests/**"
env:
fail-fast: true
jobs:
phpunit:
name: "PHPUnit"
uses: "doctrine/.github/.github/workflows/continuous-integration.yml@3.0.0"
with:
php-versions: '["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]'

View file

@ -0,0 +1,16 @@
name: "Automatic Releases"
on:
milestone:
types:
- "closed"
jobs:
release:
name: "Git tag, release & create merge-up PR"
uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@3.0.0"
secrets:
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
ORGANIZATION_ADMIN_TOKEN: ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
SIGNING_SECRET_KEY: ${{ secrets.SIGNING_SECRET_KEY }}

View file

@ -0,0 +1,51 @@
name: "Static Analysis"
on:
pull_request:
branches:
- "*.x"
paths:
- ".github/workflows/static-analysis.yml"
- "composer.*"
- "lib/**"
- "phpstan*"
- "tests/**"
push:
branches:
- "*.x"
paths:
- ".github/workflows/static-analysis.yml"
- "composer.*"
- "lib/**"
- "phpstan*"
- "tests/**"
jobs:
static-analysis-phpstan:
name: "Static Analysis with PHPStan"
runs-on: "ubuntu-20.04"
strategy:
matrix:
php-version:
- "8.1"
steps:
- name: "Checkout code"
uses: "actions/checkout@v3"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "highest"
composer-options: "${{ inputs.composer-options }}"
- name: "Run a static analysis with phpstan/phpstan"
run: "vendor/bin/phpstan analyse"