|
|
|
@ -26,7 +26,7 @@ jobs: |
|
|
|
outputs: |
|
|
|
src: ${{ steps.filter.outputs.src }} |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 |
|
|
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 |
|
|
|
with: |
|
|
|
persist-credentials: false |
|
|
|
# For pull requests it's not necessary to checkout the code but for the main branch it is |
|
|
|
@ -107,11 +107,11 @@ jobs: |
|
|
|
env: |
|
|
|
GITHUB_CONTEXT: ${{ toJson(github) }} |
|
|
|
run: echo "$GITHUB_CONTEXT" |
|
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 |
|
|
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 |
|
|
|
with: |
|
|
|
persist-credentials: false |
|
|
|
- name: Set up Python |
|
|
|
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 |
|
|
|
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 |
|
|
|
with: |
|
|
|
python-version: ${{ matrix.python-version }} |
|
|
|
- name: Setup uv |
|
|
|
@ -171,11 +171,11 @@ jobs: |
|
|
|
env: |
|
|
|
GITHUB_CONTEXT: ${{ toJson(github) }} |
|
|
|
run: echo "$GITHUB_CONTEXT" |
|
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 |
|
|
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 |
|
|
|
with: |
|
|
|
persist-credentials: false |
|
|
|
- name: Set up Python |
|
|
|
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 |
|
|
|
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 |
|
|
|
with: |
|
|
|
python-version: "3.13" |
|
|
|
- name: Setup uv |
|
|
|
@ -191,7 +191,7 @@ jobs: |
|
|
|
- name: Install Dependencies |
|
|
|
run: uv sync --no-dev --group tests --extra all |
|
|
|
- name: CodSpeed benchmarks |
|
|
|
uses: CodSpeedHQ/action@c145068895e045cc725ee76fcd2307624b65c3af # v4.17.5 |
|
|
|
uses: CodSpeedHQ/action@63f3e98b61959fe67f146a3ff022e4136fe9bb9c # v4.17.6 |
|
|
|
with: |
|
|
|
mode: simulation |
|
|
|
run: uv run --no-sync pytest tests/benchmarks --codspeed |
|
|
|
@ -206,10 +206,10 @@ jobs: |
|
|
|
env: |
|
|
|
GITHUB_CONTEXT: ${{ toJson(github) }} |
|
|
|
run: echo "$GITHUB_CONTEXT" |
|
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 |
|
|
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 |
|
|
|
with: |
|
|
|
persist-credentials: false |
|
|
|
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 |
|
|
|
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 |
|
|
|
with: |
|
|
|
python-version-file: ".python-version" |
|
|
|
- name: Setup uv |
|
|
|
|