Skip to content

Commit

Permalink
chore(deps): update ci github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed Oct 12, 2022
1 parent 188d779 commit 024f719
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-test.yaml
Expand Up @@ -14,7 +14,7 @@ jobs:
- id: yarn-cache
uses: c-hive/gha-yarn-cache@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- if: steps.yarn-cache.outputs.cache-hit != 'true'
Expand All @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v3
- uses: c-hive/gha-yarn-cache@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- run: yarn install --frozen-lockfile
Expand All @@ -42,13 +42,13 @@ jobs:
- uses: actions/checkout@v3
- uses: c-hive/gha-yarn-cache@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- run: yarn install --frozen-lockfile
- run: yarn test --coverage
- name: 'Upload coverage report'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: jest-coverage
path: coverage
Expand All @@ -61,7 +61,7 @@ jobs:
- uses: actions/checkout@v3
- uses: c-hive/gha-yarn-cache@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- run: yarn install --frozen-lockfile
Expand All @@ -79,7 +79,7 @@ jobs:
interval: 500
- run: yarn cypress:run
- name: 'Upload coverage report'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: cypress-coverage
path: cypress-coverage
Expand All @@ -92,11 +92,11 @@ jobs:
- uses: actions/checkout@v3
- name: Download coverage reports
uses: actions/download-artifact@v3
- uses: codecov/codecov-action@v2
- uses: codecov/codecov-action@v3
with:
files: ./jest-coverage/coverage-final.json
flags: jest
- uses: codecov/codecov-action@v2
- uses: codecov/codecov-action@v3
with:
files: ./cypress-coverage/coverage-final.json
flags: cypress
4 changes: 2 additions & 2 deletions .github/workflows/dump-validators.yml
Expand Up @@ -14,14 +14,14 @@ jobs:
- uses: actions/checkout@v3
- uses: c-hive/gha-yarn-cache@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- run: yarn install --frozen-lockfile
- run: yarn dump-validators
- name: Create Pull Request with updated dumped validators
# https://github.com/peter-evans/create-pull-request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
commit-message: 'Update dumped validators'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/mega-linter.yml
Expand Up @@ -21,7 +21,7 @@ jobs:
name: Cancel duplicate jobs
runs-on: ubuntu-latest
steps:
- uses: fkirc/skip-duplicate-actions@v4
- uses: fkirc/skip-duplicate-actions@v5
with:
github_token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}

Expand All @@ -39,7 +39,7 @@ jobs:
# Install dependencies
- uses: c-hive/gha-yarn-cache@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- run: yarn install --frozen-lockfile
Expand All @@ -58,7 +58,7 @@ jobs:
id: ml
# You can override Mega-Linter flavor used to have faster performances
# More info at https://nvuillam.github.io/mega-linter/flavors/
uses: nvuillam/mega-linter/flavors/javascript@v5
uses: nvuillam/mega-linter/flavors/javascript@v6
env:
# All available variables are described in documentation
# https://nvuillam.github.io/mega-linter/configuration/
Expand All @@ -69,7 +69,7 @@ jobs:
# Upload Mega-Linter artifacts
- name: Archive production artifacts
if: ${{ success() }} || ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Mega-Linter reports
path: |
Expand All @@ -80,7 +80,7 @@ jobs:
- name: Create Pull Request with applied fixes
id: cpr
if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && !contains(github.event.head_commit.message, 'skip fix')
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
commit-message: '[Mega-Linter] Apply linters automatic fixes'
Expand Down

0 comments on commit 024f719

Please sign in to comment.