From 482c942cc20e953b82cd099b279047af8772e11f Mon Sep 17 00:00:00 2001 From: Shlee Date: Wed, 5 Feb 2025 16:33:47 +1030 Subject: [PATCH] laravel/pint Github Action Require installing Pint composer global require laravel/pint and then running against staging.. this will likely break all of the existing PRs but would be good to be done sooner than later --- .github/workflows/pint.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/pint.yaml diff --git a/.github/workflows/pint.yaml b/.github/workflows/pint.yaml new file mode 100644 index 000000000..7b35d77b0 --- /dev/null +++ b/.github/workflows/pint.yaml @@ -0,0 +1,27 @@ +name: Laravel pint + +on: + push: + pull_request: + +jobs: + pint: + runs-on: ubuntu-latest + strategy: + fail-fast: true + matrix: + php: [8.4] + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + extensions: json, dom, curl, libxml, mbstring + coverage: none + + - name: Run Pint + run: pint --test