diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d0f3e22c..0de032a5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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, @@ -27,7 +29,7 @@ jobs: - uses: pre-commit/action@v1.0.1 build-test-push: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: pre-commit strategy: fail-fast: false @@ -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