Skip to content

Commit 7d1b124

Browse files
committed
chore: update emoji-data-updater.yml
- Use .pyproject.toml for setting up python version and cache poetry dependencies
1 parent 4e47dbe commit 7d1b124

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/emoji-data-updater.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,17 @@ jobs:
3535
run: |
3636
curl -s -o ../../emojify/src/test/resources/io/wax911/emojify/core/emoji-test.txt https://unicode.org/Public/emoji/latest/emoji-test.txt
3737
38-
- name: Setup Python
38+
- name: Install poetry
39+
run: pipx install poetry
40+
41+
- name: Setup python
3942
uses: actions/setup-python@v5
4043
with:
41-
python-version: "3.10.6"
44+
python-version-file: 'scripts/emoji_generator/pyproject.toml'
45+
cache: 'poetry'
4246

4347
- name: Install Dependencies
4448
run: |
45-
pip install --upgrade pip
46-
pip install poetry==2.0.1
4749
poetry config virtualenvs.create true
4850
poetry install --no-root
4951

0 commit comments

Comments
 (0)