♻️ refactor: align basic-cli with effect terminology #59
Workflow file for this run
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: "CI - Tests" | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-tests-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| host: | |
| name: host | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: stable | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: host | |
| - name: Build host crate | |
| run: cargo build --manifest-path host/Cargo.toml | |
| - name: Run host tests | |
| run: cargo test --manifest-path host/Cargo.toml | |
| spore: | |
| name: spore | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: astral-sh/setup-uv@v6 | |
| - name: Install spore CLI | |
| run: uv tool install spore-lang==0.0.2 | |
| - name: Format Spore files | |
| run: spore format --check | |
| - name: Check Spore files | |
| run: spore check | |
| - name: Build Spore files | |
| run: spore build | |
| - name: Run standalone hello example | |
| run: spore run examples/hello.sp | |
| - name: Run project-mode hello-app example | |
| run: | | |
| ( | |
| cd examples/hello-app | |
| echo "✓ Running project-mode example (default entry)" | |
| spore run | |
| ) | |
| - name: Run Spore spec tests | |
| run: spore test |