mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-31 01:13:33 +00:00
Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.30.2 to 2.30.4. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](https://github.com/shivammathur/setup-php/compare/2.30.2...2.30.4) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
40 lines
772 B
YAML
40 lines
772 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
all-php-versions:
|
|
name: PHP ${{ matrix.php }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
php: ["8.1", "8.2", "8.3"]
|
|
|
|
uses: ./.github/workflows/main-php-matrix.yml
|
|
with:
|
|
php: ${{ matrix.php }}
|
|
secrets: inherit
|
|
|
|
codestyle:
|
|
name: Code Style checks
|
|
runs-on: ubuntu-20.04
|
|
strategy:
|
|
fail-fast: false
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup PHP and tools
|
|
uses: shivammathur/setup-php@2.30.4
|
|
with:
|
|
php-version: 8.2
|
|
tools: php-cs-fixer:3.49
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Run PHP-CS-Fixer
|
|
run: php-cs-fixer fix --dry-run --diff --ansi
|