Skip to content

Commit ad3286d

Browse files
committed
feat: Adding MISE_PYTHON_DEFAULT_PACKAGES_FILE to set default packages for python
1 parent 7bc7196 commit ad3286d

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/codespell.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ jobs:
1313
- name: Checkout code
1414
uses: actions/checkout@v4
1515

16+
- name: Create default packages file
17+
run: |
18+
cat <<EOF > .mise-python-default-packages
19+
codespell==2.4.0
20+
EOF
21+
22+
echo "MISE_PYTHON_DEFAULT_PACKAGES_FILE=.mise-python-default-packages" >> "$GITHUB_ENV"
23+
1624
- name: Use mise to install dependencies
1725
uses: jdx/mise-action@v2
1826
with:
@@ -21,8 +29,5 @@ jobs:
2129
[tools]
2230
python = "3.13.3"
2331
24-
- name: Install codespell
25-
run: pip install codespell==2.4.0
26-
2732
- name: Run codespell
2833
run: codespell .

0 commit comments

Comments
 (0)