11---
22name : " CI"
3- concurrency : # Cancel any existing runs of this workflow for this same PR
3+ concurrency : # Cancel any existing runs of this workflow for this same PR
44 group : " ${{ github.workflow }}-${{ github.ref }}"
55 cancel-in-progress : true
6- on : # yamllint disable
6+ on : # yamllint disable
77 push :
88 branches :
99 - " main"
@@ -13,92 +13,92 @@ on: # yamllint disable
1313 pull_request : ~
1414jobs :
1515 black :
16- runs-on : " ubuntu-20 .04"
16+ runs-on : " ubuntu-24 .04"
1717 env :
1818 INVOKE_LOCAL : " True"
1919 steps :
2020 - name : " Check out repository code"
2121 uses : " actions/checkout@v3"
2222 - name : " Setup environment"
23- uses : " networktocode/gh-action-setup-poetry-environment@v4 "
23+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
2424 - name : " Linting: black"
2525 run : " poetry run invoke black"
2626 bandit :
27- runs-on : " ubuntu-20 .04"
27+ runs-on : " ubuntu-24 .04"
2828 env :
2929 INVOKE_LOCAL : " True"
3030 steps :
3131 - name : " Check out repository code"
3232 uses : " actions/checkout@v3"
3333 - name : " Setup environment"
34- uses : " networktocode/gh-action-setup-poetry-environment@v4 "
34+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
3535 - name : " Linting: bandit"
3636 run : " poetry run invoke bandit"
3737 needs :
3838 - " black"
3939 pydocstyle :
40- runs-on : " ubuntu-20 .04"
40+ runs-on : " ubuntu-24 .04"
4141 env :
4242 INVOKE_LOCAL : " True"
4343 steps :
4444 - name : " Check out repository code"
4545 uses : " actions/checkout@v3"
4646 - name : " Setup environment"
47- uses : " networktocode/gh-action-setup-poetry-environment@v4 "
47+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
4848 - name : " Linting: pydocstyle"
4949 run : " poetry run invoke pydocstyle"
5050 needs :
5151 - " black"
5252 flake8 :
53- runs-on : " ubuntu-20 .04"
53+ runs-on : " ubuntu-24 .04"
5454 env :
5555 INVOKE_LOCAL : " True"
5656 steps :
5757 - name : " Check out repository code"
5858 uses : " actions/checkout@v3"
5959 - name : " Setup environment"
60- uses : " networktocode/gh-action-setup-poetry-environment@v4 "
60+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
6161 - name : " Linting: flake8"
6262 run : " poetry run invoke flake8"
6363 needs :
6464 - " black"
6565 mypy :
66- runs-on : " ubuntu-20 .04"
66+ runs-on : " ubuntu-24 .04"
6767 env :
6868 INVOKE_LOCAL : " True"
6969 steps :
7070 - name : " Check out repository code"
7171 uses : " actions/checkout@v3"
7272 - name : " Setup environment"
73- uses : " networktocode/gh-action-setup-poetry-environment@v4 "
73+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
7474 with :
7575 poetry-install-options : " --with dev"
7676 - name : " Linting: flake8"
7777 run : " poetry run invoke mypy"
7878 needs :
7979 - " black"
8080 yamllint :
81- runs-on : " ubuntu-20 .04"
81+ runs-on : " ubuntu-24 .04"
8282 env :
8383 INVOKE_LOCAL : " True"
8484 steps :
8585 - name : " Check out repository code"
8686 uses : " actions/checkout@v3"
8787 - name : " Setup environment"
88- uses : " networktocode/gh-action-setup-poetry-environment@v4 "
88+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
8989 - name : " Linting: yamllint"
9090 run : " poetry run invoke yamllint"
9191 needs :
9292 - " black"
9393 pylint :
94- runs-on : " ubuntu-20 .04"
94+ runs-on : " ubuntu-24 .04"
9595 env :
9696 INVOKE_LOCAL : " True"
9797 steps :
9898 - name : " Check out repository code"
9999 uses : " actions/checkout@v3"
100100 - name : " Setup environment"
101- uses : " networktocode/gh-action-setup-poetry-environment@v4 "
101+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
102102 with :
103103 poetry-install-options : " --with dev"
104104 - name : " Linting: Pylint"
@@ -118,18 +118,18 @@ jobs:
118118 include :
119119 - python-version : " 3.11"
120120 pydantic : " 1.x"
121- runs-on : " ubuntu-20 .04"
121+ runs-on : " ubuntu-24 .04"
122122 env :
123123 INVOKE_LOCAL : " True"
124124 PYTHON_VER : " ${{ matrix.python-version }}"
125125 steps :
126126 - name : " Check out repository code"
127127 uses : " actions/checkout@v3"
128128 - name : " Setup environment"
129- uses : " networktocode/gh-action-setup-poetry-environment@v4 "
129+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
130130 with :
131131 python-version : " ${{ matrix.python-version }}"
132- poetry-install-options : " --with dev "
132+ poetry-install-options : " --all-extras "
133133 - name : " Run poetry Install"
134134 run : " poetry install"
135135 - name : " Run poetry Install"
@@ -141,7 +141,7 @@ jobs:
141141 - " pylint"
142142 publish_gh :
143143 name : " Publish to GitHub"
144- runs-on : " ubuntu-20 .04"
144+ runs-on : " ubuntu-24 .04"
145145 if : " startsWith(github.ref, 'refs/tags/v')"
146146 steps :
147147 - name : " Check out repository code"
@@ -170,7 +170,7 @@ jobs:
170170 - " unittest"
171171 publish_pypi :
172172 name : " Push Package to PyPI"
173- runs-on : " ubuntu-20 .04"
173+ runs-on : " ubuntu-24 .04"
174174 if : " startsWith(github.ref, 'refs/tags/v')"
175175 steps :
176176 - name : " Check out repository code"
@@ -199,7 +199,7 @@ jobs:
199199 - " publish_gh"
200200 - " publish_pypi"
201201 name : " Send notification to the Slack"
202- runs-on : " ubuntu-20 .04"
202+ runs-on : " ubuntu-24 .04"
203203 env :
204204 SLACK_WEBHOOK_URL : " ${{ secrets.SLACK_WEBHOOK_URL }}"
205205 SLACK_MESSAGE : >-
0 commit comments