From cb92bc579b4c867606f52c94c738f1692ea213de Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Fri, 6 Sep 2024 23:16:53 +0200 Subject: [PATCH] Update GitHub actions to run on node 20 --- .github/workflows/main.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3a61877..9e96cb5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 @@ -21,7 +21,7 @@ jobs: coverage: none - name: Cache composer dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/composer key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -43,7 +43,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 @@ -53,7 +53,7 @@ jobs: tools: cs2pr - name: Cache composer dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/composer key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -69,7 +69,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 @@ -78,7 +78,7 @@ jobs: coverage: none - name: Cache composer dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/composer key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -94,7 +94,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 2 @@ -105,7 +105,7 @@ jobs: coverage: pcov - name: Cache composer dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/composer key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -126,7 +126,7 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.ref }} # Otherwise our annotated tag is not fetched and we cannot get correct version