Install poetry via curl (#287)
* install poetry via curl * same for mypy
This commit is contained in:
10
.github/workflows/mypy.yml
vendored
10
.github/workflows/mypy.yml
vendored
@ -16,15 +16,15 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
|
||||||
# Installation instructions are from: https://python-poetry.org/docs/
|
- name: Install Poetry
|
||||||
- name: Install dependencies
|
|
||||||
shell: bash
|
|
||||||
run: |
|
run: |
|
||||||
pip install \
|
curl -sSL https://install.python-poetry.org | python3 -
|
||||||
poetry
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: bash
|
shell: bash
|
||||||
|
12
.github/workflows/ruff.yml
vendored
12
.github/workflows/ruff.yml
vendored
@ -16,16 +16,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
|
||||||
# Installation instructions are from: https://python-poetry.org/docs/
|
- name: Install Poetry
|
||||||
- name: Install dependencies
|
|
||||||
shell: bash
|
|
||||||
run: |
|
run: |
|
||||||
pip install \
|
curl -sSL https://install.python-poetry.org | python3 -
|
||||||
poetry
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user