fix(ci): bootstrap cc toolchain on self-hosted rust workflows
This commit is contained in:
committed by
Argenis
parent
e99ea1a6a3
commit
182d7742d1
@@ -10,6 +10,7 @@ on:
|
||||
- "crates/**"
|
||||
- ".github/codeql/**"
|
||||
- "scripts/ci/self_heal_rust_toolchain.sh"
|
||||
- "scripts/ci/ensure_cc.sh"
|
||||
- ".github/workflows/sec-codeql.yml"
|
||||
pull_request:
|
||||
branches: [dev, main]
|
||||
@@ -20,6 +21,7 @@ on:
|
||||
- "crates/**"
|
||||
- ".github/codeql/**"
|
||||
- "scripts/ci/self_heal_rust_toolchain.sh"
|
||||
- "scripts/ci/ensure_cc.sh"
|
||||
- ".github/workflows/sec-codeql.yml"
|
||||
merge_group:
|
||||
branches: [dev, main]
|
||||
@@ -69,6 +71,9 @@ jobs:
|
||||
with:
|
||||
toolchain: 1.92.0
|
||||
|
||||
- name: Ensure C toolchain for Rust builds
|
||||
run: ./scripts/ci/ensure_cc.sh
|
||||
|
||||
- name: Build
|
||||
run: cargo build --workspace --all-targets --locked
|
||||
|
||||
|
||||
Reference in New Issue
Block a user