@@ -13,7 +13,7 @@ on: # yamllint disable
1313 pull_request : ~
1414jobs :
1515 validate_renovate :
16- runs-on : " ubuntu-20 .04"
16+ runs-on : " ubuntu-24 .04"
1717 steps :
1818 - name : " Check out repository code"
1919 uses : " actions/checkout@v2"
@@ -22,88 +22,102 @@ jobs:
2222 with :
2323 pattern : " renovate.json"
2424 black :
25- runs-on : " ubuntu-20 .04"
25+ runs-on : " ubuntu-24 .04"
2626 env :
2727 INVOKE_LOCAL : " True"
2828 steps :
2929 - name : " Check out repository code"
3030 uses : " actions/checkout@v2"
3131 - name : " Setup environment"
32- uses : " networktocode/gh-action-setup-poetry-environment@v5"
32+ uses : " networktocode/gh-action-setup-poetry-environment@v6"
33+ with :
34+ poetry-version : " 1.8.5"
3335 - name : " Linting: black"
3436 run : " poetry run invoke black"
3537 bandit :
36- runs-on : " ubuntu-20 .04"
38+ runs-on : " ubuntu-24 .04"
3739 env :
3840 INVOKE_LOCAL : " True"
3941 steps :
4042 - name : " Check out repository code"
4143 uses : " actions/checkout@v2"
4244 - name : " Setup environment"
43- uses : " networktocode/gh-action-setup-poetry-environment@v5"
45+ uses : " networktocode/gh-action-setup-poetry-environment@v6"
46+ with :
47+ poetry-version : " 1.8.5"
4448 - name : " Linting: bandit"
4549 run : " poetry run invoke bandit"
4650 needs :
4751 - " black"
4852 pydocstyle :
49- runs-on : " ubuntu-20 .04"
53+ runs-on : " ubuntu-24 .04"
5054 env :
5155 INVOKE_LOCAL : " True"
5256 steps :
5357 - name : " Check out repository code"
5458 uses : " actions/checkout@v2"
5559 - name : " Setup environment"
56- uses : " networktocode/gh-action-setup-poetry-environment@v5"
60+ uses : " networktocode/gh-action-setup-poetry-environment@v6"
61+ with :
62+ poetry-version : " 1.8.5"
5763 - name : " Linting: pydocstyle"
5864 run : " poetry run invoke pydocstyle"
5965 needs :
6066 - " black"
6167 flake8 :
62- runs-on : " ubuntu-20 .04"
68+ runs-on : " ubuntu-24 .04"
6369 env :
6470 INVOKE_LOCAL : " True"
6571 steps :
6672 - name : " Check out repository code"
6773 uses : " actions/checkout@v2"
6874 - name : " Setup environment"
69- uses : " networktocode/gh-action-setup-poetry-environment@v5"
75+ uses : " networktocode/gh-action-setup-poetry-environment@v6"
76+ with :
77+ poetry-version : " 1.8.5"
7078 - name : " Linting: flake8"
7179 run : " poetry run invoke flake8"
7280 needs :
7381 - " black"
7482 mypy :
75- runs-on : " ubuntu-20 .04"
83+ runs-on : " ubuntu-24 .04"
7684 env :
7785 INVOKE_LOCAL : " True"
7886 steps :
7987 - name : " Check out repository code"
8088 uses : " actions/checkout@v2"
8189 - name : " Setup environment"
82- uses : " networktocode/gh-action-setup-poetry-environment@v5"
90+ uses : " networktocode/gh-action-setup-poetry-environment@v6"
91+ with :
92+ poetry-version : " 1.8.5"
8393 - name : " Linting: mypy"
8494 run : " poetry run invoke mypy"
8595 needs :
8696 - " black"
8797 yamllint :
88- runs-on : " ubuntu-20 .04"
98+ runs-on : " ubuntu-24 .04"
8999 env :
90100 INVOKE_LOCAL : " True"
91101 steps :
92102 - name : " Check out repository code"
93103 uses : " actions/checkout@v2"
94104 - name : " Setup environment"
95- uses : " networktocode/gh-action-setup-poetry-environment@v5"
105+ uses : " networktocode/gh-action-setup-poetry-environment@v6"
106+ with :
107+ poetry-version : " 1.8.5"
96108 - name : " Linting: yamllint"
97109 run : " poetry run invoke yamllint"
98110 needs :
99111 - " black"
100112 build :
101- runs-on : " ubuntu-20 .04"
113+ runs-on : " ubuntu-24 .04"
102114 steps :
103115 - name : " Check out repository code"
104116 uses : " actions/checkout@v2"
105117 - name : " Setup environment"
106- uses : " networktocode/gh-action-setup-poetry-environment@v5"
118+ uses : " networktocode/gh-action-setup-poetry-environment@v6"
119+ with :
120+ poetry-version : " 1.8.5"
107121 - name : " Build Container"
108122 run : " poetry run invoke build"
109123 needs :
@@ -113,12 +127,14 @@ jobs:
113127 - " yamllint"
114128 - " mypy"
115129 pylint :
116- runs-on : " ubuntu-20 .04"
130+ runs-on : " ubuntu-24 .04"
117131 steps :
118132 - name : " Check out repository code"
119133 uses : " actions/checkout@v2"
120134 - name : " Setup environment"
121- uses : " networktocode/gh-action-setup-poetry-environment@v5"
135+ uses : " networktocode/gh-action-setup-poetry-environment@v6"
136+ with :
137+ poetry-version : " 1.8.5"
122138 - name : " Build Container"
123139 run : " poetry run invoke build"
124140 - name : " Linting: Pylint"
@@ -129,9 +145,9 @@ jobs:
129145 strategy :
130146 fail-fast : true
131147 matrix :
132- python-version : ["3.8", "3. 9", "3.10", "3.11"]
133- poetry-version : ["1.5.1 "]
134- runs-on : " ubuntu-20 .04"
148+ python-version : ["3.9", "3.10", "3.11"]
149+ poetry-version : ["1.8.5 "]
150+ runs-on : " ubuntu-24 .04"
135151 env :
136152 PYTHON_VER : " ${{ matrix.python-version }}"
137153 steps :
@@ -140,7 +156,7 @@ jobs:
140156 - name : " Setup environment"
141157 uses : " networktocode/gh-action-setup-poetry-environment@3ea5d3ecf382cdcb0c74d4c0ff0629d95fce63c7"
142158 env :
143- POETRY_VERSION : 1.5.1
159+ POETRY_VERSION : 1.8.5
144160 with :
145161 python-version : " ${{ matrix.python-version }}"
146162 poetry-version : " ${{ matrix.poetry-version }}"
@@ -154,7 +170,7 @@ jobs:
154170 - " pylint"
155171 publish_gh :
156172 name : " Publish to GitHub"
157- runs-on : " ubuntu-20 .04"
173+ runs-on : " ubuntu-24 .04"
158174 if : " startsWith(github.ref, 'refs/tags/v')"
159175 steps :
160176 - name : " Check out repository code"
@@ -183,7 +199,7 @@ jobs:
183199 - " unittest"
184200 publish_pypi :
185201 name : " Push Package to PyPI"
186- runs-on : " ubuntu-20 .04"
202+ runs-on : " ubuntu-24 .04"
187203 if : " startsWith(github.ref, 'refs/tags/v')"
188204 steps :
189205 - name : " Check out repository code"
@@ -212,7 +228,7 @@ jobs:
212228 - " publish_gh"
213229 - " publish_pypi"
214230 name : " Send notification to the Slack"
215- runs-on : " ubuntu-20 .04"
231+ runs-on : " ubuntu-24 .04"
216232 env :
217233 SLACK_WEBHOOK_URL : " ${{ secrets.SLACK_WEBHOOK_URL }}"
218234 SLACK_MESSAGE : >-
0 commit comments