From 1f9851226e5fe9ae2482cb7f7b5961ea4a1d5e99 Mon Sep 17 00:00:00 2001 From: Vincent Boon Date: Mon, 16 Jun 2025 14:39:08 +0200 Subject: [PATCH] Adjust workflows --- .github/workflows/analyse.yml | 6 +++--- .github/workflows/coverage.yml | 6 +++--- .github/workflows/style.yml | 13 +++---------- .github/workflows/tests.yml | 6 +++--- 4 files changed, 12 insertions(+), 19 deletions(-) diff --git a/.github/workflows/analyse.yml b/.github/workflows/analyse.yml index f9c9c19..9a48b07 100644 --- a/.github/workflows/analyse.yml +++ b/.github/workflows/analyse.yml @@ -10,11 +10,11 @@ jobs: matrix: os: [ubuntu-latest] php: [8.3, 8.4] - laravel: [11.*] + laravel: [12.*] stability: [prefer-stable] include: - - laravel: 11.* - testbench: 9.* + - laravel: 12.* + testbench: 10.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 8bb396f..42304c6 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -10,11 +10,11 @@ jobs: matrix: os: [ubuntu-latest] php: [8.4] - laravel: [11.*] + laravel: [12.*] stability: [prefer-stable] include: - - laravel: 11.* - testbench: 9.* + - laravel: 12.* + testbench: 10.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 0439b8d..3e638bd 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -1,9 +1,7 @@ name: style -on: - push: - branches: - - main +on: ['push', 'pull_request'] + jobs: style: name: Style @@ -24,9 +22,4 @@ jobs: run: composer install - name: Style - run: composer fix-style - - - name: Commit Changes - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: Fix styling changes + run: composer style diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5b04952..3244785 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,11 +10,11 @@ jobs: matrix: os: [ubuntu-latest] php: [8.3, 8.4] - laravel: [11.*] + laravel: [12.*] stability: [prefer-lowest, prefer-stable] include: - - laravel: 11.* - testbench: 9.* + - laravel: 12.* + testbench: 10.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}