diff --git a/.github/workflows/test.yml b/.github/workflows/test.yaml similarity index 60% rename from .github/workflows/test.yml rename to .github/workflows/test.yaml index ef00cf5..5aaaa46 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yaml @@ -3,7 +3,35 @@ name: Run tests on: [push, pull_request] jobs: - php-tests: + coding-standards: + name: "Coding Standards" + + runs-on: "ubuntu-latest" + + strategy: + matrix: + php: + - "8.3" + + steps: + - name: "Checkout" + uses: "actions/checkout@v4.1.7" + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + + - name: Update composer + run: composer self-update --2 + + - name: "Install dependencies" + run: "composer install --no-interaction --no-progress" + + - name: "Run normalize" + run: "composer normalize --dry-run" + + tests: runs-on: ${{ matrix.os }} strategy: diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yaml similarity index 100% rename from .github/workflows/update-changelog.yml rename to .github/workflows/update-changelog.yaml