mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 19:02:29 +03:00
Update actions/checkout action to v4
This commit is contained in:
parent
8efeb20ae8
commit
d3db3b32d2
2
.github/workflows/auto-assign.yml
vendored
2
.github/workflows/auto-assign.yml
vendored
@ -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
|
||||
|
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
@ -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')
|
||||
|
2
.github/workflows/create-release-branch.yml
vendored
2
.github/workflows/create-release-branch.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user