chore:another more lenient check #36
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-install-package | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - ci/migration-to-pixi | |
| jobs: | |
| install-package: | |
| if: "${{ (!startsWith(github.event.head_commit.message, 'chore: autoformat isort & black')) && (!startsWith(github.event.head_commit.message, 'bump:')) }}" | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| environment: [py312, py313] | |
| os: [windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: prefix-dev/[email protected] | |
| with: | |
| pixi-version: v0.49.0 | |
| cache: true | |
| cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }} | |
| environments: ${{ matrix.environment }} | |
| - name: Install Dependencies | |
| run: pixi install | |
| if: steps.cache.outputs.cache-hit != 'true' | |
| - name: Build package | |
| run: pixi run -e dev build | |
| if: steps.cache.outputs.cache-hit != 'true' | |