File tree Expand file tree Collapse file tree 6 files changed +233
-160
lines changed
Expand file tree Collapse file tree 6 files changed +233
-160
lines changed Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments