fix(parser): accept the range of unicode in xref/image/inline etc #813
This file contains hidden or 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
| name: AsciiDoc TCK | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'acdc-parser/**' | |
| - 'acdc-cli/**' | |
| - 'converters/**' | |
| - 'Cargo.toml' | |
| - 'Cargo.lock' | |
| pull_request: | |
| branches: '*' | |
| paths: | |
| - 'acdc-parser/**' | |
| - 'acdc-cli/**' | |
| - 'converters/**' | |
| - 'Cargo.toml' | |
| - 'Cargo.lock' | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| tck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| path: acdc | |
| - name: Clone asciidoc-tck | |
| run: git clone --depth 1 https://gitlab.eclipse.org/eclipse/asciidoc-lang/asciidoc-tck.git asciidoc-tck | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: stable | |
| - name: Setup Rust Cache | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: acdc | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| cache-dependency-path: asciidoc-tck/package-lock.json | |
| - name: Build acdc with TCK feature | |
| working-directory: acdc | |
| run: cargo build -p acdc-cli --no-default-features --features tck | |
| - name: Install asciidoc-tck dependencies | |
| working-directory: asciidoc-tck | |
| run: npm install | |
| - name: Run TCK tests | |
| working-directory: asciidoc-tck | |
| run: RUST_LOG= node harness/bin/asciidoc-tck.js cli -c '../acdc/target/debug/acdc tck' |