Skip to content

Commit c070811

Browse files
committed
ci: reorder workflow steps for better dependency management
- Moves Python setup before Mise installation in both workflows - Ensures Python environment is ready before tool installation
1 parent ba9c8fc commit c070811

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

template/.github/workflows/bench.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
steps:
3737
- name: Checkout
3838
uses: actions/checkout@v4
39-
- name: Install Mise
40-
uses: jdx/mise-action@v2
4139
- name: Setup Python
4240
uses: liblaf/actions/setup-python@main
41+
- name: Install Mise
42+
uses: jdx/mise-action@v2
4343
- name: Bench
4444
uses: CodSpeedHQ/action@v3
4545
with:

template/.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242
uses: actions/checkout@v4
4343
with:
4444
fetch-depth: 0 # I don't know why, but it is present in the official example
45-
- name: Install Mise
46-
uses: jdx/mise-action@v2
4745
- name: Setup Python
4846
uses: liblaf/actions/setup-python@main
47+
- name: Install Mise
48+
uses: jdx/mise-action@v2
4949
- name: Test
5050
run: mise run test
5151
- name: Upload Coverage

0 commit comments

Comments
 (0)