Bump api-platform/core from 2.7.18 to 3.3.5 #1414
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CS | |
on: [ pull_request ] | |
permissions: # added using https://github.com/step-security/secure-workflows | |
contents: read | |
jobs: | |
ecs: | |
name: Coding Standards (PHP) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 | |
with: | |
egress-policy: block | |
allowed-endpoints: > | |
api.github.com:443 | |
github.com:443 | |
objects.githubusercontent.com:443 | |
packagist.org:443 | |
54.185.253.63:443 | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@c665c7a15b5295c2488ac8a87af9cb806cd72198 | |
with: | |
php-version: 8.3 | |
extensions: intl, gd, opcache, mysql, pdo_mysql | |
- uses: ramsey/composer-install@v3 | |
- name: Run EasyCodingStandard | |
run: bin/ecs check | |
composer-normalize: | |
name: Composer Normalize | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 | |
with: | |
egress-policy: block | |
allowed-endpoints: > | |
api.github.com:443 | |
github.com:443 | |
objects.githubusercontent.com:443 | |
packagist.org:443 | |
raw.githubusercontent.com:443 | |
repo.packagist.org:443 | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@c665c7a15b5295c2488ac8a87af9cb806cd72198 | |
with: | |
php-version: 8.3 | |
- name: Install dependencies | |
run: composer install --no-scripts | |
- name: Ensure lock file is up to date | |
run: composer update --lock --no-scripts | |
- name: Run composer normalize | |
run: composer normalize --no-update-lock --diff --dry-run | |
lint: | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
statuses: write # for github/super-linter/slim to mark status of each linter run | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 | |
with: | |
disable-sudo: true | |
egress-policy: block | |
allowed-endpoints: > | |
api.github.com:443 | |
github.com:443 | |
registry.yarnpkg.com:443 | |
pipelinesghubeus2.actions.githubusercontent.com:443 | |
54.185.253.63:443 | |
- name: Checkout Code | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 | |
with: | |
fetch-depth: 0 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@c665c7a15b5295c2488ac8a87af9cb806cd72198 | |
with: | |
php-version: 8.3 | |
ini-values: date.timezone=Europe/Paris, opcache.enable=1, opcache.enable_cli=1, opcache.memory_consumption=256, opcache.max_accelerated_files=32531, opcache.interned_strings_buffer=8, opcache.validate_timestamps=0, opcache.save_comments=1, opcache.fast_shutdown=0 | |
extensions: intl, gd, opcache, mysql, pdo_mysql, :xdebug | |
- uses: ramsey/composer-install@v3 | |
- uses: oven-sh/setup-bun@v1 | |
- run: bun install | |
- name: Super-Linter | |
uses: github/super-linter/slim@4e51915f4a812abf59fed160bb14595c0a38a9e7 | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
DEFAULT_BRANCH: 2.1.x | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CSS_FILE_NAME: .stylelintrc.json | |
VALIDATE_YAML: true | |
VALIDATE_JSON: true | |
VALIDATE_XML: true | |
VALIDATE_MD: true | |
VALIDATE_GITLEAKS: true | |
VALIDATE_BASH: true | |
VALIDATE_PHP_BUILTIN: true | |
LINTER_RULES_PATH: . | |
VALIDATE_JAVASCRIPT_ES: true | |
VALIDATE_CSS: true |