ci(deps): update jdx/mise-action digest to 9e7f763 (#102) #85
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
| # This file is @generated by <https://github.com/liblaf/copier-python>. | |
| # DO NOT EDIT! | |
| name: Python / Bench | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| env: | |
| FORCE_COLOR: 1 | |
| jobs: | |
| collect: | |
| name: Collect | |
| runs-on: ubuntu-latest | |
| outputs: | |
| sessions: ${{ steps.collect.outputs.sessions }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 | |
| with: | |
| activate-environment: true | |
| - name: Install dependencies | |
| run: uv sync --active --frozen --all-packages | |
| - id: collect | |
| name: Collect | |
| run: |- | |
| echo "sessions=$( | |
| nox --list-sessions --json --tags 'bench' | | |
| jq --compact-output '[.[].session]' | |
| )" >> "$GITHUB_OUTPUT" | |
| # CodSpeedHQ does not support the same benchmark multiple times | |
| # so we don't run on multiple python versions here. | |
| bench: | |
| name: Bench | |
| needs: | |
| - collect | |
| if: needs.collect.outputs.sessions != '[]' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 | |
| with: | |
| activate-environment: true | |
| - name: Install dependencies | |
| run: uv sync --active --frozen --all-packages | |
| - name: Bench | |
| uses: CodSpeedHQ/action@db35df748deb45fdef0960669f57d627c1956c30 # v4 | |
| with: | |
| run: nox --tags 'bench' | |
| mode: instrumentation |