From f0426746c01456aa5bcec8e70f7a9f5a84deb14e Mon Sep 17 00:00:00 2001 From: asrar Date: Sun, 26 Nov 2023 16:15:31 +0100 Subject: [PATCH] ci: Use setup php --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9472dc4..da074a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,16 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Setup PHP, with composer and extensions + uses: shivammathur/setup-php@v2 + with: + php-version: "8.2" + tools: composer + coverage: none + env: + fail-fast: true + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Validate composer.json and composer.lock run: composer validate --strict