chore: pin CI to compatible SASE core #4
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 | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| permissions: | |
| contents: read | |
| env: | |
| SASE_CORE_REF: v0.1.3 | |
| SASE_CORE_PATH: .ci/sase | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check out SASE | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: sase-org/sase | |
| ref: ${{ env.SASE_CORE_REF }} | |
| path: ${{ env.SASE_CORE_PATH }} | |
| - uses: astral-sh/setup-uv@v4 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: "**/pyproject.toml" | |
| - uses: extractions/setup-just@v2 | |
| - name: Set up Python | |
| run: uv python install 3.12 | |
| - name: Install dependencies | |
| run: just install | |
| - name: Lint | |
| run: just lint | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check out SASE | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: sase-org/sase | |
| ref: ${{ env.SASE_CORE_REF }} | |
| path: ${{ env.SASE_CORE_PATH }} | |
| - uses: astral-sh/setup-uv@v4 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: "**/pyproject.toml" | |
| - uses: extractions/setup-just@v2 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| run: uv python install ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: just install | |
| - name: Run tests | |
| run: just test |