π§ chore: update LICENSE copyright and Renovate config (#21) #82
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 | |
| with: | |
| python-version: "3.14" | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: 1.95 | |
| - name: Install spore CLI | |
| run: uv tool install spore-lang==0.0.3 | |
| - name: Format Spore files | |
| run: spore format --check | |
| - name: Check Spore files | |
| run: | | |
| find src/basic_cli -name '*.sp' -type f | sort | xargs -n 1 spore check | |
| spore check examples/hello.sp | |
| spore check examples/hello-app/src/main.sp | |
| - name: Build Spore platform API files | |
| run: | | |
| find src/basic_cli -name '*.sp' -type f | sort | xargs -n 1 spore build | |
| - name: Run Spore examples | |
| run: | | |
| spore run examples/hello.sp | |
| ( | |
| cd examples/hello-app | |
| echo "β Running project-mode example (default entry)" | |
| spore run src/main.sp | |
| ) | |
| - name: Run Spore spec tests | |
| run: spore test |