Skip to content

Commit 1923d74

Browse files
committed
fix: use python 3.10 for .mo files compilation workflow
1 parent edbe61f commit 1923d74

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/python-publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,18 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v2
1919
with:
20-
python-version: '3.9'
20+
python-version: '3.10'
2121
- name: Install dependencies
2222
run: |
2323
sudo apt-get update && sudo apt-get install -y gettext
2424
python -m pip install --upgrade pip
2525
pip install setuptools wheel twine poetry
26+
- name: Install norminette package
27+
run: |
28+
poetry install
2629
- name: Compile .mo files
2730
run: |
28-
python norminette/i18n.py
31+
poetry run python norminette/i18n.py
2932
- name: Build and publish
3033
env:
3134
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}

0 commit comments

Comments
 (0)