From d0cb9ad88e8e987137aab438a74bb259bd9be93e Mon Sep 17 00:00:00 2001 From: Anton Medvedev Date: Sat, 12 Oct 2024 23:47:13 +0200 Subject: [PATCH] Update workflows --- .github/workflows/check.yml | 5 +++++ .github/workflows/docker.yml | 5 +++++ .github/workflows/docs.yml | 5 +++++ .github/workflows/sync.yml | 5 +++++ .github/workflows/test.yml | 2 +- 5 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 4523acaa8..da3181acf 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -39,6 +39,11 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' + - name: Validate composer.json and composer.lock run: composer validate diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 106a7ab4f..e05bc14bb 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -19,6 +19,11 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' + - name: Get version run: | echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d9d26c350..f3d2b2ffe 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,6 +12,11 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' + - name: Validate composer.json and composer.lock run: composer validate diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 1734560b8..4642dcd01 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -13,6 +13,11 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' + - name: Install dependencies run: composer install --prefer-dist --no-progress diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 57a517a26..bc3d5b7de 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: [ '7.3', '7.4', '8.0', '8.1', '8.2' ] + php-versions: [ '8.1', '8.2' ] steps: - uses: actions/checkout@v4