ci: clone tuie from github for path deps
cargo can't resolve path = '../tuie' on the runner without it. also apply the one-line rgb visibility patch souveraine needs.
This commit is contained in:
parent
45d25b25a4
commit
488a35006a
1 changed files with 5 additions and 2 deletions
|
|
@ -16,9 +16,12 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8
|
||||
- name: Clone tuie
|
||||
run: |
|
||||
git clone --depth 1 https://github.com/jake-stewart/tuie.git /workspace/Fimeg/tuie
|
||||
sed -i 's/pub(crate) mod rgb/pub mod rgb/' /workspace/Fimeg/tuie/src/util/mod.rs
|
||||
- uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
|
||||
with:
|
||||
toolchain: "1.94"
|
||||
components: clippy
|
||||
- name: cargo test
|
||||
run: cargo test
|
||||
|
|
|
|||
Loading…
Reference in a new issue