mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-15 08:31:49 +01:00
ci: Checkout latest merged pulls
Github-Pull: #33303
Rebased-From: fa8f081af3
This commit is contained in:
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -108,8 +108,12 @@ jobs:
|
|||||||
BASE_ROOT_DIR: ${{ github.workspace }}
|
BASE_ROOT_DIR: ${{ github.workspace }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- &CHECKOUT
|
||||||
uses: actions/checkout@v4
|
name: Checkout
|
||||||
|
uses: actions/checkout@v5
|
||||||
|
with:
|
||||||
|
# Ensure the latest merged pull request state is used, even on re-runs.
|
||||||
|
ref: &CHECKOUT_REF_TMPL ${{ github.event_name == 'pull_request' && github.ref || '' }}
|
||||||
|
|
||||||
- name: Clang version
|
- name: Clang version
|
||||||
run: |
|
run: |
|
||||||
@@ -165,8 +169,7 @@ jobs:
|
|||||||
TEST_RUNNER_TIMEOUT_FACTOR: 40
|
TEST_RUNNER_TIMEOUT_FACTOR: 40
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- *CHECKOUT
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Configure Developer Command Prompt for Microsoft Visual C++
|
- name: Configure Developer Command Prompt for Microsoft Visual C++
|
||||||
# Using microsoft/setup-msbuild is not enough.
|
# Using microsoft/setup-msbuild is not enough.
|
||||||
@@ -419,8 +422,7 @@ jobs:
|
|||||||
file-env: './ci/test/00_setup_env_native_msan.sh'
|
file-env: './ci/test/00_setup_env_native_msan.sh'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- *CHECKOUT
|
||||||
uses: actions/checkout@v5
|
|
||||||
|
|
||||||
- name: Configure environment
|
- name: Configure environment
|
||||||
uses: ./.github/actions/configure-environment
|
uses: ./.github/actions/configure-environment
|
||||||
@@ -463,6 +465,7 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
|
ref: *CHECKOUT_REF_TMPL
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Configure Docker
|
- name: Configure Docker
|
||||||
|
|||||||
Reference in New Issue
Block a user