Bump mhils/workflows from cc6add7a662663ad7ad3017a86bcb91c361c9cc9 to 8a2bdd081227cbdd6f5d3bbb54a759607feac0b6 in the dependencies group #1887
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 | |
| on: | |
| pull_request: | |
| push: | |
| branches-ignore: | |
| - 'dependabot/**' | |
| tags: | |
| - 'v[0-9]+.[0-9]+.[0-9]+' | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: mhils/workflows/checkout@8a2bdd081227cbdd6f5d3bbb54a759607feac0b6 | |
| - uses: mhils/workflows/setup-python@8a2bdd081227cbdd6f5d3bbb54a759607feac0b6 | |
| - uses: mhils/workflows/setup-uv@8a2bdd081227cbdd6f5d3bbb54a759607feac0b6 | |
| - run: uv run tox -e lint | |
| old-dependencies: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: mhils/workflows/checkout@8a2bdd081227cbdd6f5d3bbb54a759607feac0b6 | |
| - uses: mhils/workflows/setup-python@8a2bdd081227cbdd6f5d3bbb54a759607feac0b6 | |
| - uses: mhils/workflows/setup-uv@8a2bdd081227cbdd6f5d3bbb54a759607feac0b6 | |
| - run: uv run tox -e old-dependencies | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: windows-latest | |
| py: 3.13.0 | |
| args: --cov-fail-under=100 | |
| - os: macos-latest | |
| py: 3.13.0 | |
| args: --cov-fail-under=100 | |
| - os: ubuntu-latest | |
| py: 3.13.0 | |
| args: --cov-fail-under=100 | |
| - os: ubuntu-latest | |
| py: 3.12.4 | |
| - os: ubuntu-latest | |
| py: 3.11.5 | |
| - os: ubuntu-latest | |
| py: 3.10.13 | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: mhils/workflows/checkout@8a2bdd081227cbdd6f5d3bbb54a759607feac0b6 | |
| - uses: mhils/workflows/setup-uv@8a2bdd081227cbdd6f5d3bbb54a759607feac0b6 | |
| - run: uv run --python ${{ matrix.py }} tox -e py -- -vvv ${{ matrix.args }} | |
| build: | |
| uses: mhils/workflows/.github/workflows/python-build.yml@8a2bdd081227cbdd6f5d3bbb54a759607feac0b6 | |
| permissions: | |
| contents: read | |
| id-token: write | |
| attestations: write | |
| attest: | |
| needs: build | |
| if: github.event_name != 'pull_request' | |
| permissions: | |
| contents: read | |
| id-token: write | |
| attestations: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/download-artifact@v5 | |
| with: | |
| name: wheels | |
| path: dist/ | |
| - uses: actions/attest-build-provenance@v3 | |
| with: | |
| subject-path: 'dist/*' | |
| check: | |
| if: always() | |
| needs: | |
| - lint | |
| - test | |
| - build | |
| - attest | |
| uses: mhils/workflows/.github/workflows/alls-green.yml@8a2bdd081227cbdd6f5d3bbb54a759607feac0b6 | |
| with: | |
| jobs: ${{ toJSON(needs) }} | |
| allowed-skips: '["attest"]' | |
| deploy: | |
| uses: mhils/workflows/.github/workflows/python-deploy.yml@8a2bdd081227cbdd6f5d3bbb54a759607feac0b6 | |
| with: | |
| artifact-name: wheels | |
| needs: check | |
| if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
| secrets: | |
| password: ${{ secrets.TWINE_PASSWORD }} |