Run miri test only if it has labels (#2734)
* stuf * Update build_and_test.yml * Update build_and_test.yml * Update build_and_test.yml * Update build_and_test.yml * Update build_and_test.yml * Update build_and_test.yml * Update build_and_test.yml * Update build_and_test.yml * Update build_and_test.yml
This commit is contained in:
parent
e9af21cf71
commit
f30cd2a8ab
3
.github/workflows/build_and_test.yml
vendored
3
.github/workflows/build_and_test.yml
vendored
@ -5,12 +5,14 @@ on:
|
|||||||
branches: [ main, "pr/**" ]
|
branches: [ main, "pr/**" ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
types: ["labeled", "opened", "synchronize", "reopened"]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
merge_group:
|
merge_group:
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
CARGO_NET_GIT_FETCH_WITH_CLI: true
|
CARGO_NET_GIT_FETCH_WITH_CLI: true
|
||||||
MAIN_LLVM_VERSION: 18
|
MAIN_LLVM_VERSION: 18
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
@ -91,6 +93,7 @@ jobs:
|
|||||||
|
|
||||||
ubuntu-miri:
|
ubuntu-miri:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
if: contains( github.event.pull_request.labels.*.name, 'pre-release')
|
||||||
steps:
|
steps:
|
||||||
- name: Add nightly clippy
|
- name: Add nightly clippy
|
||||||
run: rustup toolchain install nightly --component miri --allow-downgrade
|
run: rustup toolchain install nightly --component miri --allow-downgrade
|
||||||
|
Loading…
x
Reference in New Issue
Block a user