Skip to content

Commit 85b8f5e

Browse files
committed
fix: add setup PATH step to multiple workflow files
1 parent f20e7d9 commit 85b8f5e

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

.github/workflows/auto-author-assign.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ jobs:
1313
timeout-minutes: 30
1414
if: ${{ !github.event.pull_request.assignee }}
1515
steps:
16+
- name: Setup PATH
17+
run: echo "/home/runner/.local/bin" >> $GITHUB_PATH
1618
- uses: toshimaru/auto-author-assign@v2.1.1

.github/workflows/auto-format.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,17 @@ jobs:
1616
runs-on: arc-runners-small
1717
timeout-minutes: 30
1818
steps:
19+
1920
- uses: actions/checkout@v4
2021
with:
2122
repository: ${{ github.event.pull_request.head.repo.full_name }}
2223
ref: ${{ github.event.pull_request.head.ref }}
23-
24+
- name: Setup PATH
25+
run: echo "/home/runner/.local/bin" >> $GITHUB_PATH
2426
- uses: ./.github/workflows/actions/prepare
2527

2628
- run: poetry run ruff check --fix --unsafe-fixes --preview --exit-zero .
29+
2730
- run: poetry run ruff format .
2831

2932
- name: Commit changes

.github/workflows/build-wheels.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@v4
4444

45+
- name: Setup PATH
46+
run: echo "/home/runner/.local/bin" >> $GITHUB_PATH
47+
4548
- name: Set up Python
4649
uses: actions/setup-python@v5
4750
with:

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
timeout-minutes: 30
1919
steps:
2020
- uses: actions/checkout@v4
21+
- name: Setup PATH
22+
run: echo "/home/runner/.local/bin" >> $GITHUB_PATH
2123
- uses: ./.github/workflows/actions/prepare
2224
with:
2325
python-version: "3.11"
@@ -31,6 +33,8 @@ jobs:
3133
timeout-minutes: 30
3234
steps:
3335
- uses: actions/checkout@v4
36+
- name: Setup PATH
37+
run: echo "/home/runner/.local/bin" >> $GITHUB_PATH
3438
- uses: ./.github/workflows/actions/prepare
3539
with:
3640
python-version: "3.11"
@@ -68,6 +72,8 @@ jobs:
6872
python-version: "3.12"
6973
steps:
7074
- uses: actions/checkout@v4
75+
- name: Setup PATH
76+
run: echo "/home/runner/.local/bin" >> $GITHUB_PATH
7177
- uses: ./.github/workflows/actions/prepare
7278
with:
7379
python-version: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)