From 1bfdefa729c50ff8372316915b1d46fd258b50d8 Mon Sep 17 00:00:00 2001 From: Tom Udding Date: Wed, 11 Sep 2024 15:35:18 +0200 Subject: [PATCH] chore: update GitHub Actions to avoid deprecation warnings Because of the Node 16 -> Node 20 migration. --- .github/workflows/coding-standards.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/static-analysis-phpstan.yml | 6 +++--- .github/workflows/static-analysis-psalm.yml | 6 +++--- .github/workflows/unit-tests.yml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 6865babbb9..2d16af84c0 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -14,6 +14,6 @@ concurrency: jobs: php-codesniffer: - uses: 'GEWIS/gewisphp-coding-standards/.github/workflows/coding-standards.yml@1.1.0' + uses: 'GEWIS/gewisphp-coding-standards/.github/workflows/coding-standards.yml@1.2.0' with: php-version: '8.3' diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 1b1a7dffc6..4231954afe 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/static-analysis-phpstan.yml b/.github/workflows/static-analysis-phpstan.yml index 5be8376999..c3436153cd 100644 --- a/.github/workflows/static-analysis-phpstan.yml +++ b/.github/workflows/static-analysis-phpstan.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Checkout head branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PHP uses: shivammathur/setup-php@v2 @@ -50,7 +50,7 @@ jobs: git checkout --detach temp-phpstanpr - name: Install dependencies with Composer - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 - name: Load environment variables uses: c-py/action-dotenv-to-setenv@v3 @@ -77,7 +77,7 @@ jobs: git checkout - - name: Install dependencies with Composer - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 - name: Load environment variables uses: c-py/action-dotenv-to-setenv@v3 diff --git a/.github/workflows/static-analysis-psalm.yml b/.github/workflows/static-analysis-psalm.yml index c77f791d5a..6cb96bfedb 100644 --- a/.github/workflows/static-analysis-psalm.yml +++ b/.github/workflows/static-analysis-psalm.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout head branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PHP uses: shivammathur/setup-php@v2 @@ -36,7 +36,7 @@ jobs: git checkout --detach temp-psalmpr - name: Install dependencies with Composer - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 - name: Load environment variables uses: c-py/action-dotenv-to-setenv@v3 @@ -56,7 +56,7 @@ jobs: git checkout - - name: Install dependencies with Composer - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 - name: Load environment variables uses: c-py/action-dotenv-to-setenv@v3 diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index f109354246..f2247e2954 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install PHP uses: shivammathur/setup-php@v2 @@ -31,7 +31,7 @@ jobs: run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - name: Install dependencies with Composer - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v3 - name: Extract configuration files run: |