From 0fee2f18e06de59b6915e17704423fb424dd2a4f Mon Sep 17 00:00:00 2001 From: konradoboza Date: Tue, 23 Jul 2024 15:55:05 +0200 Subject: [PATCH] Updated Github actions' versions --- .github/workflows/backend-ci.yaml | 6 +++--- composer.json | 2 +- .../ibexa-oss/.github/workflows/backend-ci.yaml | 14 ++++++-------- .../ibexa-oss/.github/workflows/frontend-ci.yaml | 6 +++--- 4 files changed, 13 insertions(+), 15 deletions(-) diff --git a/.github/workflows/backend-ci.yaml b/.github/workflows/backend-ci.yaml index 04b8207..449acd1 100644 --- a/.github/workflows/backend-ci.yaml +++ b/.github/workflows/backend-ci.yaml @@ -17,10 +17,10 @@ jobs: fail-fast: false matrix: php: - - '7.4' + - '8.3' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup PHP Action uses: shivammathur/setup-php@v2 @@ -39,7 +39,7 @@ jobs: SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }} TRAVIS_GITHUB_TOKEN: ${{ secrets.TRAVIS_GITHUB_TOKEN }} - - uses: "ramsey/composer-install@v1" + - uses: "ramsey/composer-install@v3" with: dependency-versions: "highest" composer-options: "--prefer-dist --no-progress --no-suggest" diff --git a/composer.json b/composer.json index 0a5a9d3..3bb3082 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ "ibexa-dxp" ], "require": { - "php": "^7.4 || ^8.0", + "php": ">=8.3", "symfony/console": "^5.4", "symfony/filesystem": "^5.4" }, diff --git a/skeleton/ibexa-oss/.github/workflows/backend-ci.yaml b/skeleton/ibexa-oss/.github/workflows/backend-ci.yaml index 0f05780..20bf6d3 100644 --- a/skeleton/ibexa-oss/.github/workflows/backend-ci.yaml +++ b/skeleton/ibexa-oss/.github/workflows/backend-ci.yaml @@ -14,9 +14,9 @@ jobs: strategy: matrix: php: - - '8.1' + - '8.3' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup PHP Action uses: shivammathur/setup-php@v2 @@ -26,7 +26,7 @@ jobs: extensions: 'pdo_sqlite, gd' tools: cs2pr - - uses: ramsey/composer-install@v2 + - uses: ramsey/composer-install@v3 with: dependency-versions: "highest" @@ -37,7 +37,7 @@ jobs: name: Deptrac runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Deptrac uses: smoench/deptrac-action@master @@ -50,12 +50,10 @@ jobs: fail-fast: false matrix: php: - - '7.4' - - '8.1' - - '8.2' + - '8.3' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup PHP Action uses: shivammathur/setup-php@v2 diff --git a/skeleton/ibexa-oss/.github/workflows/frontend-ci.yaml b/skeleton/ibexa-oss/.github/workflows/frontend-ci.yaml index c40c64a..6fc653f 100644 --- a/skeleton/ibexa-oss/.github/workflows/frontend-ci.yaml +++ b/skeleton/ibexa-oss/.github/workflows/frontend-ci.yaml @@ -14,12 +14,12 @@ on: jobs: frontend-test: name: Frontend build test - runs-on: "ubuntu-20.04" + runs-on: "ubuntu-22.04" timeout-minutes: 5 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: '14' - run: yarn install