Closed chipsenkbeil closed 3 years ago
- uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.rust }}
IIRC, actions-rs/toolchain
does not override the default toolchain.
You need to use override: true
or default: true
. See also https://github.com/actions-rs/toolchain/blob/master/README.md#inputs
Ah, didn't realize that. I'll close this out. Thanks!
For my project entity-rs, I have a single CI.yml workflow that has a setup like this:
In my macro crate within the project, I'm using trybuild in my tests and - like I'd seen in discussions on Github - have it set to only run when the Rust version is nightly:
This works great if I run
cargo +nightly test
from withinentity-rs/entity_macros
or if I runcargo +nightly test --workspace
from the root ofentity-rs
, but for whatever reason my Github action continues to mark the UI tests as ignore for nightly versions of Rust:Is there something else I need to configure on the CI-side? Or maybe I misunderstood something? I've been trying to read through different sources where people are using rustversion in combination with trybuild and haven't noticed anything yet.