From b290f7dc6b64491934950053ec9cc18d069cf6a6 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Fri, 21 Oct 2022 12:55:28 -0500 Subject: [PATCH] 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. --- .github/workflows/jedi.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/jedi.yml b/.github/workflows/jedi.yml index c5305f5..95bef3c 100644 --- a/.github/workflows/jedi.yml +++ b/.github/workflows/jedi.yml @@ -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