diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index 4537c3eaf..cb8f321c5 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -16,15 +16,15 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Set up Python uses: actions/setup-python@v5 + with: + python-version: '3.x' - # Installation instructions are from: https://python-poetry.org/docs/ - - name: Install dependencies - shell: bash + - name: Install Poetry run: | - pip install \ - poetry + curl -sSL https://install.python-poetry.org | python3 - - name: Build shell: bash diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index bde064636..e6ef2e5a8 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -16,16 +16,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Set up Python uses: actions/setup-python@v5 + with: + python-version: '3.x' - # Installation instructions are from: https://python-poetry.org/docs/ - - name: Install dependencies - shell: bash + - name: Install Poetry run: | - pip install \ - poetry - + curl -sSL https://install.python-poetry.org | python3 - + - name: Build shell: bash run: |