From ddb230899cf786ff0c7b518a691b427409fe4068 Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Thu, 20 Oct 2022 11:55:10 +0200 Subject: [PATCH] chore(actions): update github actions --- .github/actions/ci-save-split-tests/action.yml | 2 +- .github/actions/ci-setup-assets/action.yml | 2 +- .github/actions/ci-setup-rails/action.yml | 2 +- .../actions/ci-setup-split-tests/action.yml | 2 +- .github/workflows/ci.yml | 18 +++++++++--------- .github/workflows/rebase.yml | 2 +- .github/workflows/sentry-release.yml | 2 +- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/actions/ci-save-split-tests/action.yml b/.github/actions/ci-save-split-tests/action.yml index 2f9e8896f..e22b1f018 100644 --- a/.github/actions/ci-save-split-tests/action.yml +++ b/.github/actions/ci-save-split-tests/action.yml @@ -11,7 +11,7 @@ runs: using: composite steps: - name: Save test reports - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ inputs.results_path }} key: tests-reports-${{ github.ref }}-${{ github.sha }}-${{ github.run_id }} diff --git a/.github/actions/ci-setup-assets/action.yml b/.github/actions/ci-setup-assets/action.yml index d728c93f4..5131f1c5c 100644 --- a/.github/actions/ci-setup-assets/action.yml +++ b/.github/actions/ci-setup-assets/action.yml @@ -5,7 +5,7 @@ runs: using: composite steps: - name: Assets cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | public/assets diff --git a/.github/actions/ci-setup-rails/action.yml b/.github/actions/ci-setup-rails/action.yml index 15615d7e9..8eabf35d1 100644 --- a/.github/actions/ci-setup-rails/action.yml +++ b/.github/actions/ci-setup-rails/action.yml @@ -10,7 +10,7 @@ runs: bundler-cache: true - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: cache: 'yarn' diff --git a/.github/actions/ci-setup-split-tests/action.yml b/.github/actions/ci-setup-split-tests/action.yml index e49f4c2f4..dd867529a 100644 --- a/.github/actions/ci-setup-split-tests/action.yml +++ b/.github/actions/ci-setup-split-tests/action.yml @@ -31,7 +31,7 @@ runs: # # The actual retrieval uses the `restore-keys` instead. - name: Restore previous runs timings - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ inputs.results_path }} key: single-instance-report-${{ github.sha }}-${{ env.dummy_random_value }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a52106ea..a23dc875b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: ports: [ "5432:5432" ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup the app code and dependancies uses: ./.github/actions/ci-setup-rails @@ -34,10 +34,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: cache: 'yarn' @@ -68,7 +68,7 @@ jobs: instances: [0, 1, 2, 3, 4, 5] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup the app runtime and dependencies uses: ./.github/actions/ci-setup-rails @@ -88,7 +88,7 @@ jobs: bin/rspec $SPEC_FILES --format progress --format RspecJunitFormatter --out tmp/rspec_${{ github.job }}_${{ strategy.job-index }}.junit.xml - name: Upload test results for this instance - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: test-reports path: tmp/rspec_${{ github.job }}_${{ strategy.job-index }}.junit.xml @@ -110,7 +110,7 @@ jobs: instances: [0, 1] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup the app runtime and dependencies uses: ./.github/actions/ci-setup-rails @@ -130,7 +130,7 @@ jobs: RAILS_ENV=test bin/rspec $SPEC_FILES --format progress --format RspecJunitFormatter --out tmp/rspec_${{ github.job }}_${{ strategy.job-index }}.junit.xml - name: Upload test results for this instance - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: test-reports path: tmp/rspec_${{ github.job }}_${{ strategy.job-index }}.junit.xml @@ -141,10 +141,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Collect test results from all instances - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: test-reports path: tmp diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml index 142cc146b..4b005393d 100644 --- a/.github/workflows/rebase.yml +++ b/.github/workflows/rebase.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the latest code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Automatic Rebase diff --git a/.github/workflows/sentry-release.yml b/.github/workflows/sentry-release.yml index dd4f2d40f..6de81a052 100644 --- a/.github/workflows/sentry-release.yml +++ b/.github/workflows/sentry-release.yml @@ -7,7 +7,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Sentry Release uses: getsentry/action-release@v1 env: