Update workflows

This commit is contained in:
Šarūnas Nejus 2024-06-09 15:43:01 +01:00
parent 90263a9e9e
commit e30ee3f490
No known key found for this signature in database
GPG key ID: DD28F6704DBE3435
2 changed files with 9 additions and 10 deletions

View file

@ -18,13 +18,13 @@ jobs:
PY_COLORS: 1
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: poetry
@ -46,9 +46,8 @@ jobs:
- name: Upload code coverage
if: matrix.python-version == '3.8' && matrix.platform == 'ubuntu-latest'
run: |
pip install codecov || true
codecov || true
continue-on-error: true
run: codecov
- name: Test latest Python version with tox and mypy
if: matrix.python-version == '3.x'
@ -66,13 +65,13 @@ jobs:
PY_COLORS: 1
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry
- name: Set up Python 3.x
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: poetry
@ -90,13 +89,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry
- name: Set up Python 3.x
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: poetry

View file

@ -18,7 +18,7 @@ jobs:
with:
python-version: 3.9-dev
- name: Install base dependencies
- name: Install dependencies
run: |
pip install poetry
poetry install