Skip to content

Commit

Permalink
[IMP] use PY 3.9 for avoid issue at install poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
celm1990 committed Aug 24, 2023
1 parent ee3919d commit 8914f14
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ on:

jobs:
pre-commit:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: "3.9"
- name: Set PY
run:
echo "PY=$(python -c 'import hashlib,
Expand All @@ -27,7 +29,7 @@ jobs:
- uses: pre-commit/[email protected]

build-test-push:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: pre-commit
strategy:
fail-fast: false
Expand Down Expand Up @@ -59,6 +61,8 @@ jobs:
# Prepare
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: "3.9"
# Install dev and test dependencies
- run: pip install poetry
- name: Patch $PATH
Expand Down

0 comments on commit 8914f14

Please sign in to comment.