Update actions/checkout action to v4

This commit is contained in:
renovate[bot] 2023-09-05 06:38:21 +00:00 committed by Daniel Lockyer
parent 8efeb20ae8
commit d3db3b32d2
3 changed files with 14 additions and 14 deletions

View File

@ -10,6 +10,6 @@ jobs:
FORCE_COLOR: 1
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: gh extension install daniellockyer/gh-auto-assign
- run: gh auto-assign

View File

@ -38,7 +38,7 @@ jobs:
pull-requests: read
steps:
- name: Checkout current commit
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ env.HEAD_COMMIT }}
fetch-depth: 2
@ -123,7 +123,7 @@ jobs:
timeout-minutes: 15
steps:
- name: 'Checkout current commit'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ env.HEAD_COMMIT }}
@ -188,7 +188,7 @@ jobs:
if: needs.job_get_metadata.outputs.changed_any_code == 'true'
name: Lint
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 100
- uses: actions/setup-node@v3
@ -227,7 +227,7 @@ jobs:
CI: true
COVERAGE: true
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "18.12.1"
@ -266,7 +266,7 @@ jobs:
node: [ '16.14.0', '18.12.1' ]
name: Unit tests (Node ${{ matrix.node }})
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 100
- uses: actions/setup-node@v3
@ -315,7 +315,7 @@ jobs:
NODE_ENV: ${{ matrix.env.NODE_ENV }}
name: Database tests (Node ${{ matrix.node }}, ${{ matrix.env.DB }})
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
env:
FORCE_COLOR: 0
@ -436,7 +436,7 @@ jobs:
NODE_ENV: ${{ matrix.env.NODE_ENV }}
name: Regression tests (Node ${{ matrix.node }}, ${{ matrix.env.DB }})
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
env:
FORCE_COLOR: 0
@ -487,7 +487,7 @@ jobs:
env:
CI: true
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
env:
FORCE_COLOR: 0
@ -540,7 +540,7 @@ jobs:
env:
CI: true
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
env:
FORCE_COLOR: 0
@ -593,7 +593,7 @@ jobs:
env:
CI: true
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
env:
FORCE_COLOR: 0
@ -644,7 +644,7 @@ jobs:
if: needs.job_get_metadata.outputs.changed_core == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
@ -709,7 +709,7 @@ jobs:
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Restore Admin coverage
if: contains(needs.job_admin-tests.result, 'success')

View File

@ -26,7 +26,7 @@ jobs:
- run: echo "BASE_REF=${{ inputs.base-ref }}" >> $GITHUB_ENV
if: inputs.base-ref != 'latest'
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.BASE_REF }}
fetch-depth: 0