From fd49a7d115571d47c7d4bba8a12eec0117ce86cf Mon Sep 17 00:00:00 2001 From: Ksaveras Sakys Date: Thu, 9 May 2024 20:30:43 +0300 Subject: [PATCH] chore: bump GH action versions --- .github/workflows/coding-standards.yaml | 6 ++---- .github/workflows/continuous-integration.yaml | 6 ++---- .github/workflows/coverage-report.yaml | 2 +- .github/workflows/release-please.yaml | 10 +++++----- .github/workflows/static-analysis.yaml | 6 ++---- 5 files changed, 12 insertions(+), 18 deletions(-) diff --git a/.github/workflows/coding-standards.yaml b/.github/workflows/coding-standards.yaml index 00b58d4..78aae8d 100644 --- a/.github/workflows/coding-standards.yaml +++ b/.github/workflows/coding-standards.yaml @@ -12,9 +12,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 2 + uses: actions/checkout@v4 - name: Install PHP uses: shivammathur/setup-php@v2 @@ -23,7 +21,7 @@ jobs: tools: composer:v2,cs2pr - name: Install dependencies with Composer - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 with: composer-options: --prefer-dist --optimize-autoloader diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 4dfbedf..508f1b7 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -24,9 +24,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 2 + uses: actions/checkout@v4 - name: Install PHP with PCOV uses: shivammathur/setup-php@v2 @@ -41,7 +39,7 @@ jobs: if: ${{ matrix.stability == 'stable' }} - name: Install dependencies with Composer - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 with: dependency-versions: ${{ matrix.dependencies }} composer-options: --prefer-dist --optimize-autoloader diff --git a/.github/workflows/coverage-report.yaml b/.github/workflows/coverage-report.yaml index 9b2a581..aad255b 100644 --- a/.github/workflows/coverage-report.yaml +++ b/.github/workflows/coverage-report.yaml @@ -16,7 +16,7 @@ jobs: name: Code Coverage Report steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index befb902..e6e3221 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -15,16 +15,16 @@ jobs: name: Release steps: - - uses: tibdex/github-app-token@v1 - id: generate-token + - uses: actions/create-github-app-token@v1 + id: app-token with: - app_id: ${{ secrets.APP_ID }} - private_key: ${{ secrets.APP_PRIVATE_KEY }} + app-id: ${{ secrets.APP_ID }} + private-key: ${{ secrets.APP_PRIVATE_KEY }} - uses: google-github-actions/release-please-action@v2 id: release with: - token: ${{ steps.generate-token.outputs.token }} + token: ${{ steps.app-token.outputs.token }} package-name: "" release-type: php default-branch: main diff --git a/.github/workflows/static-analysis.yaml b/.github/workflows/static-analysis.yaml index 39029cb..46b9a68 100644 --- a/.github/workflows/static-analysis.yaml +++ b/.github/workflows/static-analysis.yaml @@ -12,9 +12,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 2 + uses: actions/checkout@v4 - name: Install PHP uses: shivammathur/setup-php@v2 @@ -23,7 +21,7 @@ jobs: tools: composer:v2 - name: Install dependencies with Composer - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 with: composer-options: --prefer-dist --optimize-autoloader