chore(actions): update github actions
This commit is contained in:
parent
81b27a88ff
commit
ddb230899c
7 changed files with 15 additions and 15 deletions
|
@ -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 }}
|
||||
|
|
2
.github/actions/ci-setup-assets/action.yml
vendored
2
.github/actions/ci-setup-assets/action.yml
vendored
|
@ -5,7 +5,7 @@ runs:
|
|||
using: composite
|
||||
steps:
|
||||
- name: Assets cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
public/assets
|
||||
|
|
2
.github/actions/ci-setup-rails/action.yml
vendored
2
.github/actions/ci-setup-rails/action.yml
vendored
|
@ -10,7 +10,7 @@ runs:
|
|||
bundler-cache: true
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v2
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: 'yarn'
|
||||
|
||||
|
|
|
@ -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 }}
|
||||
|
|
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/rebase.yml
vendored
2
.github/workflows/rebase.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/sentry-release.yml
vendored
2
.github/workflows/sentry-release.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue