|
|
@ -25,6 +25,7 @@ jobs: |
|
|
permissions: |
|
|
permissions: |
|
|
pull-requests: read |
|
|
pull-requests: read |
|
|
# Set job outputs to values from filter step |
|
|
# Set job outputs to values from filter step |
|
|
|
|
|
timeout-minutes: 5 |
|
|
outputs: |
|
|
outputs: |
|
|
src: ${{ steps.filter.outputs.src }} |
|
|
src: ${{ steps.filter.outputs.src }} |
|
|
steps: |
|
|
steps: |
|
|
@ -50,6 +51,7 @@ jobs: |
|
|
needs: |
|
|
needs: |
|
|
- changes |
|
|
- changes |
|
|
if: needs.changes.outputs.src == 'true' || github.ref == 'refs/heads/master' |
|
|
if: needs.changes.outputs.src == 'true' || github.ref == 'refs/heads/master' |
|
|
|
|
|
timeout-minutes: 10 |
|
|
strategy: |
|
|
strategy: |
|
|
matrix: |
|
|
matrix: |
|
|
os: [ windows-latest, macos-latest ] |
|
|
os: [ windows-latest, macos-latest ] |
|
|
@ -118,6 +120,8 @@ jobs: |
|
|
- name: Setup uv |
|
|
- name: Setup uv |
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
with: |
|
|
with: |
|
|
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
version: "0.11.4" |
|
|
version: "0.11.4" |
|
|
enable-cache: true |
|
|
enable-cache: true |
|
|
cache-dependency-glob: | |
|
|
cache-dependency-glob: | |
|
|
@ -161,6 +165,7 @@ jobs: |
|
|
- changes |
|
|
- changes |
|
|
if: needs.changes.outputs.src == 'true' || github.ref == 'refs/heads/master' |
|
|
if: needs.changes.outputs.src == 'true' || github.ref == 'refs/heads/master' |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
timeout-minutes: 5 |
|
|
env: |
|
|
env: |
|
|
UV_PYTHON: "3.13" |
|
|
UV_PYTHON: "3.13" |
|
|
UV_RESOLUTION: highest |
|
|
UV_RESOLUTION: highest |
|
|
@ -179,6 +184,8 @@ jobs: |
|
|
- name: Setup uv |
|
|
- name: Setup uv |
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
with: |
|
|
with: |
|
|
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
version: "0.11.4" |
|
|
version: "0.11.4" |
|
|
enable-cache: true |
|
|
enable-cache: true |
|
|
cache-dependency-glob: | |
|
|
cache-dependency-glob: | |
|
|
@ -196,6 +203,7 @@ jobs: |
|
|
needs: |
|
|
needs: |
|
|
- test |
|
|
- test |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
timeout-minutes: 5 |
|
|
steps: |
|
|
steps: |
|
|
- name: Dump GitHub context |
|
|
- name: Dump GitHub context |
|
|
env: |
|
|
env: |
|
|
@ -210,6 +218,8 @@ jobs: |
|
|
- name: Setup uv |
|
|
- name: Setup uv |
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 |
|
|
with: |
|
|
with: |
|
|
|
|
|
# Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum. |
|
|
|
|
|
# See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837 |
|
|
version: "0.11.4" |
|
|
version: "0.11.4" |
|
|
enable-cache: true |
|
|
enable-cache: true |
|
|
cache-dependency-glob: | |
|
|
cache-dependency-glob: | |
|
|
@ -241,6 +251,7 @@ jobs: |
|
|
- coverage-combine |
|
|
- coverage-combine |
|
|
- benchmark |
|
|
- benchmark |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
timeout-minutes: 5 |
|
|
steps: |
|
|
steps: |
|
|
- name: Dump GitHub context |
|
|
- name: Dump GitHub context |
|
|
env: |
|
|
env: |
|
|
|