diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-05-21 15:23:07 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-05-21 15:26:33 +0800 |
| commit | 53dc4370345962f2d2c069d5ba263a8efe7ba19f (patch) | |
| tree | 54eb5d6a510e16d6ca4dc9330ab37c013e8f3fd3 | |
| parent | 099344ca38b54ecfc481fc705eaf7db001377915 (diff) | |
Add CI workflow for cross-platform testing
| -rw-r--r-- | .github/workflows/ci.yml | 14 | ||||
| -rw-r--r-- | mingling/src/example_docs.rs | 3 |
2 files changed, 16 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..68db23e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,14 @@ +name: CI + +on: [push] + +jobs: + ci: + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - uses: actions-rust-lang/setup-rust-toolchain@v1 + - run: cargo ci diff --git a/mingling/src/example_docs.rs b/mingling/src/example_docs.rs index 8c93f4b..598e345 100644 --- a/mingling/src/example_docs.rs +++ b/mingling/src/example_docs.rs @@ -585,10 +585,11 @@ pub mod example_picker {} /// main.rs /// ```ignore /// use mingling::{ +/// REPL, /// hook::ProgramHook, /// prelude::*, /// setup::{BasicREPLOutputSetup, BasicREPLPromptSetup, BasicREPLReadlineSetup}, -/// this, REPL, +/// this, /// }; /// use std::{env::current_dir, path::PathBuf}; /// |
