invalid splitted state after origin state was modified #744
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
merge_group: | |
pull_request: | |
push: | |
branches: | |
- master | |
env: | |
CARGO_INCREMENTAL: false | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: full | |
RUSTDOCFLAGS: -Dwarnings | |
name: CI | |
jobs: | |
lint: | |
name: rust code lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: nightly-2023-10-15 | |
components: rustfmt, clippy | |
- uses: Swatinem/rust-cache@v2 | |
- name: format style check | |
run: cargo fmt --all -- --check | |
- name: cargo clippy check | |
run: cargo clippy --all-targets --all-features -- -D warnings | |
- name: cargo check | |
run: cargo check | |
self-host: | |
name: Test Suite | |
needs: lint | |
uses: RibirX/share-workflows/.github/workflows/ribir-win-image-tests.yaml@main | |
doc-examples: | |
name: compile doc examples | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: nightly-2023-10-15 | |
- uses: Swatinem/rust-cache@v2 | |
- name: build ribir | |
run: cargo build | |
- name: compile doc examples | |
run: find "./docs" -name "*.md" | xargs -I {} rustdoc -Z unstable-options --test --no-run {} -L target/debug/deps/ --edition 2018 --extern ribir=target/debug/libribir.rlib |