mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
fix: Fix ci never running on nightly when proc-macro things change
This commit is contained in:
parent
d42d55feaa
commit
ef09558575
5
.github/workflows/ci.yaml
vendored
5
.github/workflows/ci.yaml
vendored
@ -24,6 +24,7 @@ jobs:
|
|||||||
pull-requests: read
|
pull-requests: read
|
||||||
outputs:
|
outputs:
|
||||||
typescript: ${{ steps.filter.outputs.typescript }}
|
typescript: ${{ steps.filter.outputs.typescript }}
|
||||||
|
proc_macros: ${{ steps.filter.outputs.proc_macros }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: dorny/paths-filter@4067d885736b84de7c414f582ac45897079b0a78
|
- uses: dorny/paths-filter@4067d885736b84de7c414f582ac45897079b0a78
|
||||||
@ -45,8 +46,8 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
env:
|
env:
|
||||||
CC: deny_c
|
CC: deny_c
|
||||||
RUST_CHANNEL: "${{ needs.changes.outputs.proc_macros == 'true' && 'nightly' || 'stable'}}"
|
RUST_CHANNEL: "${{ needs.changes.outputs.proc_macros == 'true' && 'nightly' || 'stable' }}"
|
||||||
USE_SYSROOT_ABI: "${{ needs.changes.outputs.proc_macros == 'true' && '--features sysroot-abi' || ''}}"
|
USE_SYSROOT_ABI: "${{ needs.changes.outputs.proc_macros == 'true' && '--features sysroot-abi' || '' }}"
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user