Skip to content

Commit c1b0f88

Browse files
authored
Merge pull request #151 from DerDreschner/feature/update-poetry-and-pipelines
Update Poetry, GitHub Actions and devcontainer to latest versions
2 parents 60d0286 + 97493e3 commit c1b0f88

File tree

6 files changed

+233
-160
lines changed

6 files changed

+233
-160
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"image": "mcr.microsoft.com/devcontainers/base:focal",
2+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
33
"features": {
44
"ghcr.io/devcontainers/features/python:1": {
55
"version": "3.12",
6-
"toolsToInstall": "poetry, pre-commit"
6+
"toolsToInstall": "poetry,pre-commit"
77
}
88
}
99
}

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
1717

1818
- name: Set up Python
19-
uses: actions/setup-python@v2
19+
uses: actions/setup-python@v5
2020
with:
2121
python-version: '3.x'
2222

2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip
26-
pip install poetry==1.8.3
26+
pip install poetry==2.0.1
2727
2828
- name: Build package
2929
run: poetry build

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
- name: Set up Python 3.9
19-
uses: actions/setup-python@v2
19+
uses: actions/setup-python@v5
2020
with:
21-
python-version: 3.9
21+
python-version: '3.9'
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25-
pip install poetry==1.8.3
25+
pip install poetry==2.0.1
2626
poetry install
2727
- name: Test with pytest
2828
run: |
2929
poetry run coverage run test.py
3030
poetry run coverage xml
3131
- name: 'Upload coverage to Codecov'
32-
uses: codecov/codecov-action@v4
32+
uses: codecov/codecov-action@v5
3333
with:
3434
fail_ci_if_error: false

0 commit comments

Comments
 (0)