github: update jedi action dependencies

Update to current Ubuntu LTS and actions.

This fixes deprecation warnings about node v12 and fixes wrong python
version used by poetry.
This commit is contained in:
David Lechner
2022-10-21 12:55:28 -05:00
parent 9127afdcbc
commit b290f7dc6b
+3 -9
View File
@@ -7,10 +7,7 @@ jobs:
if: github.ref_type != 'tag'
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- uses: actions/checkout@v3
- run: pipx install poetry
- run: poetry install
working-directory: ./jedi
@@ -19,12 +16,9 @@ jobs:
publish:
if: github.ref_type == 'tag' && startsWith(github.ref_name, 'pybricks_jedi/')
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- uses: actions/checkout@v3
- run: pipx install poetry
- run: poetry install
working-directory: ./jedi