chore(actions): update github actions

This commit is contained in:
Paul Chavard 2022-10-20 11:55:10 +02:00
parent 81b27a88ff
commit ddb230899c
7 changed files with 15 additions and 15 deletions

View file

@ -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 }}

View file

@ -5,7 +5,7 @@ runs:
using: composite
steps:
- name: Assets cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
public/assets

View file

@ -10,7 +10,7 @@ runs:
bundler-cache: true
- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
cache: 'yarn'

View file

@ -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 }}

View file

@ -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

View file

@ -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

View file

@ -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: