From 4778968abadfaf1c1cb9f382efb9f8ae3b7f90bf Mon Sep 17 00:00:00 2001 From: Fleny Date: Sat, 20 Jul 2024 23:54:00 +0200 Subject: [PATCH] Update actions versions (#3760) Especially actions/cache and the artifacts related ones --- .github/workflows/benchmark.yml | 8 ++++---- .../workflows/docker-app-rest-passthrough.yml | 4 ++-- .github/workflows/e2e-test.yml | 6 +++--- .github/workflows/integration-test.yml | 6 +++--- .github/workflows/lib-check.yml | 20 +++++++++---------- .github/workflows/other-runtime-unit-test.yml | 14 ++++++------- .github/workflows/release.yml | 4 ++-- .github/workflows/site.yml | 8 ++++---- .github/workflows/unit-test.yml | 6 +++--- 9 files changed, 38 insertions(+), 38 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 2129c8b64..6ae2268a3 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -32,7 +32,7 @@ jobs: if: ${{ steps.cpuCheck.outputs.match == 'true' }} id: yarn-cache-dir-path run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 if: ${{ steps.cpuCheck.outputs.match == 'true' }} with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -59,7 +59,7 @@ jobs: - name: Download previous benchmark data if: ${{ steps.cpuCheck.outputs.match == 'true' }} - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ./benchmarksResult key: ${{ github.ref }}-benchmark-${{ github.sha }} @@ -73,7 +73,7 @@ jobs: output-file-path: output.txt external-data-json-path: benchmarksResult/data.json - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ steps.cpuCheck.outputs.match == 'true' }} with: name: benchmarkResults @@ -84,7 +84,7 @@ jobs: mkdir -p ./commitData echo ${{ inputs.sha }} > ./commitData/sha echo ${{ inputs.repo }} > ./commitData/repo - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ steps.cpuCheck.outputs.match == 'true' }} with: name: commitData diff --git a/.github/workflows/docker-app-rest-passthrough.yml b/.github/workflows/docker-app-rest-passthrough.yml index bc4f758df..9ed888e30 100644 --- a/.github/workflows/docker-app-rest-passthrough.yml +++ b/.github/workflows/docker-app-rest-passthrough.yml @@ -53,7 +53,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-single-buildx-${{ github.sha }} @@ -156,7 +156,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-single-buildx-${{ github.sha }} diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index cf1ec3b1f..ce29652df 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -22,7 +22,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -31,13 +31,13 @@ jobs: - run: yarn install --immutable - name: Turbo Cache id: turbo-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-test:e2e-${{ inputs.package }}-${{ github.sha }} - name: Build dist cache if: steps.turbo-cache.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-build-${{ github.sha }} diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 6adb646a5..ec7b73ce1 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -19,7 +19,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -28,13 +28,13 @@ jobs: - run: yarn install --immutable - name: Turbo Cache id: turbo-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-test:integration-${{ inputs.package }}-${{ github.sha }} - name: Build dist cache if: steps.turbo-cache.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-build-${{ github.sha }} diff --git a/.github/workflows/lib-check.yml b/.github/workflows/lib-check.yml index 02ee98d43..7290477b7 100644 --- a/.github/workflows/lib-check.yml +++ b/.github/workflows/lib-check.yml @@ -21,7 +21,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -30,7 +30,7 @@ jobs: - run: yarn install --immutable - name: Turbo Cache id: turbo-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-build:type-${{ github.sha }} @@ -48,7 +48,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -57,7 +57,7 @@ jobs: - run: yarn install --immutable - name: Turbo Cache id: turbo-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-build-${{ github.sha }} @@ -76,7 +76,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -85,13 +85,13 @@ jobs: - run: yarn install --immutable - name: Turbo Cache id: turbo-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-lint-${{ github.sha }} - name: Build type cache if: steps.turbo-cache.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-build:type-${{ github.sha }} @@ -110,7 +110,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -119,13 +119,13 @@ jobs: - run: yarn install --immutable - name: Turbo Cache id: turbo-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-unit-and-integration-test:test-type-${{ github.sha }} - name: Build type cache if: steps.turbo-cache.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-build:type-${{ github.sha }} diff --git a/.github/workflows/other-runtime-unit-test.yml b/.github/workflows/other-runtime-unit-test.yml index 3f2919cc5..f8d5dd2ea 100644 --- a/.github/workflows/other-runtime-unit-test.yml +++ b/.github/workflows/other-runtime-unit-test.yml @@ -22,7 +22,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -31,13 +31,13 @@ jobs: - run: yarn install --immutable - name: Turbo Cache id: turbo-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-test:deno-unit-${{ inputs.package }}-${{ github.sha }} - name: Build dist cache if: steps.turbo-cache.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-build-${{ github.sha }} @@ -48,7 +48,7 @@ jobs: path: .turbo key: ${{ runner.os }}-turbo-build:type-${{ github.sha }} - name: Deno cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.deno @@ -72,7 +72,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -81,13 +81,13 @@ jobs: - run: yarn install --immutable - name: Turbo Cache id: turbo-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-test:bun-unit-${{ inputs.package }}-${{ github.sha }} - name: Build dist cache if: steps.turbo-cache.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-build-${{ github.sha }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b545aad1..3fba4e24e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -38,7 +38,7 @@ jobs: - run: yarn install --immutable - name: Turbo Cache id: turbo-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-release-build-${{ matrix.package }}-${{ github.sha }} diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index b00c28ad4..dae26e208 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -39,7 +39,7 @@ jobs: - name: Get yarn cache directory path (root) id: yarn-cache-dir-path-root run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path-root.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -56,7 +56,7 @@ jobs: id: yarn-cache-dir-path run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT working-directory: ./website - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-site-${{ hashFiles('**/yarn.lock') }} @@ -81,7 +81,7 @@ jobs: - name: Get yarn cache directory path (root) id: yarn-cache-dir-path-root run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path-root.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -97,7 +97,7 @@ jobs: id: yarn-cache-dir-path run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT working-directory: ./website - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-site-${{ hashFiles('**/yarn.lock') }} diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 7e5bd67bc..03ec25abd 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -19,7 +19,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -28,13 +28,13 @@ jobs: - run: yarn install --immutable - name: Turbo Cache id: turbo-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-test:unit-${{ inputs.package }}-${{ github.sha }} - name: Build dist cache if: steps.turbo-cache.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .turbo key: ${{ runner.os }}-turbo-build-${{ github.sha }}