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
|
||||
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
|
||||
|
12
.github/workflows/ruff.yml
vendored
12
.github/workflows/ruff.yml
vendored
@ -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: |
|
||||
|
Reference in New Issue
Block a user