99
1010jobs :
1111 black :
12- runs-on : " ubuntu-20.04 "
12+ runs-on : " ubuntu-latest "
1313 env :
1414 INVOKE_LOCAL : " True"
1515 steps :
1616 - name : " Check out repository code"
1717 uses : " actions/checkout@v2"
1818 - name : " Setup environment"
19- uses : " networktocode/gh-action-setup-poetry-environment@v2 "
19+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
2020 - name : " Linting: black"
2121 run : " poetry run invoke black"
2222 bandit :
23- runs-on : " ubuntu-20.04 "
23+ runs-on : " ubuntu-latest "
2424 env :
2525 INVOKE_LOCAL : " True"
2626 steps :
2727 - name : " Check out repository code"
2828 uses : " actions/checkout@v2"
2929 - name : " Setup environment"
30- uses : " networktocode/gh-action-setup-poetry-environment@v2 "
30+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
3131 - name : " Linting: bandit"
3232 run : " poetry run invoke bandit"
3333 needs :
3434 - " black"
3535 pydocstyle :
36- runs-on : " ubuntu-20.04 "
36+ runs-on : " ubuntu-latest "
3737 env :
3838 INVOKE_LOCAL : " True"
3939 steps :
4040 - name : " Check out repository code"
4141 uses : " actions/checkout@v2"
4242 - name : " Setup environment"
43- uses : " networktocode/gh-action-setup-poetry-environment@v2 "
43+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
4444 - name : " Linting: pydocstyle"
4545 run : " poetry run invoke pydocstyle"
4646 needs :
4747 - " black"
4848 flake8 :
49- runs-on : " ubuntu-20.04 "
49+ runs-on : " ubuntu-latest "
5050 env :
5151 INVOKE_LOCAL : " True"
5252 steps :
5353 - name : " Check out repository code"
5454 uses : " actions/checkout@v2"
5555 - name : " Setup environment"
56- uses : " networktocode/gh-action-setup-poetry-environment@v2 "
56+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
5757 - name : " Linting: flake8"
5858 run : " poetry run invoke flake8"
5959 needs :
6060 - " black"
6161 yamllint :
62- runs-on : " ubuntu-20.04 "
62+ runs-on : " ubuntu-latest "
6363 env :
6464 INVOKE_LOCAL : " True"
6565 steps :
6666 - name : " Check out repository code"
6767 uses : " actions/checkout@v2"
6868 - name : " Setup environment"
69- uses : " networktocode/gh-action-setup-poetry-environment@v2 "
69+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
7070 - name : " Linting: yamllint"
7171 run : " poetry run invoke yamllint"
7272 needs :
7575 strategy :
7676 fail-fast : true
7777 matrix :
78- python-version : ["3.8 ", "3.9 ", "3.10", "3.11 "]
79- ansible-core-version : ["2.11.7 "]
80- runs-on : " ubuntu-20.04 "
78+ python-version : ["3.10 ", "3.11 ", "3.12 "]
79+ ansible-core-version : ["2.16.14 "]
80+ runs-on : " ubuntu-latest "
8181 env :
8282 PYTHON_VER : " ${{ matrix.python-version }}"
8383 ANSIBLE_VER : " ${{ matrix.ansible-core-version }}"
8686 - name : " Check out repository code"
8787 uses : " actions/checkout@v2"
8888 - name : " Setup environment"
89- uses : " networktocode/gh-action-setup-poetry-environment@v2 "
89+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
9090 - name : " Get image version"
9191 run : " echo IMAGE_VER=`poetry version -s`-py${{ matrix.python-version }}-ansible-core${{ matrix.ansible-core-version }} >> $GITHUB_ENV"
9292 - name : " Set up Docker Buildx"
@@ -113,12 +113,12 @@ jobs:
113113 - " flake8"
114114 - " yamllint"
115115 pylint :
116- runs-on : " ubuntu-20.04 "
116+ runs-on : " ubuntu-latest "
117117 strategy :
118118 fail-fast : true
119119 matrix :
120- python-version : ["3.8 "]
121- ansible-core-version : ["2.11.7 "]
120+ python-version : ["3.10 "]
121+ ansible-core-version : ["2.16.14 "]
122122 env :
123123 PYTHON_VER : " ${{ matrix.python-version }}"
124124 ANSIBLE_VER : " ${{ matrix.ansible-core-version }}"
@@ -127,7 +127,7 @@ jobs:
127127 - name : " Check out repository code"
128128 uses : " actions/checkout@v2"
129129 - name : " Setup environment"
130- uses : " networktocode/gh-action-setup-poetry-environment@v2 "
130+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
131131 - name : " Get image version"
132132 run : " echo IMAGE_VER=`poetry version -s`-py${{ matrix.python-version }}-ansible-core${{ matrix.ansible-core-version }} >> $GITHUB_ENV"
133133 - name : " Set up Docker Buildx"
@@ -159,9 +159,9 @@ jobs:
159159 strategy :
160160 fail-fast : true
161161 matrix :
162- python-version : ["3.8 ", "3.9 ", "3.10", "3.11 "]
163- ansible-core-version : ["2.11.7 "]
164- runs-on : " ubuntu-20.04 "
162+ python-version : ["3.10 ", "3.11 ", "3.12 "]
163+ ansible-core-version : ["2.16.14 "]
164+ runs-on : " ubuntu-latest "
165165 env :
166166 PYTHON_VER : " ${{ matrix.python-version }}"
167167 ANSIBLE_VER : " ${{ matrix.ansible-core-version }}"
@@ -170,7 +170,7 @@ jobs:
170170 - name : " Check out repository code"
171171 uses : " actions/checkout@v2"
172172 - name : " Setup environment"
173- uses : " networktocode/gh-action-setup-poetry-environment@v2 "
173+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
174174 - name : " Get image version"
175175 run : " echo IMAGE_VER=`poetry version -s`-py${{ matrix.python-version }}-ansible-core${{ matrix.ansible-core-version }} >> $GITHUB_ENV"
176176 - name : " Set up Docker Buildx"
@@ -200,15 +200,15 @@ jobs:
200200 - " pylint"
201201 publish_gh :
202202 name : " Publish to GitHub"
203- runs-on : " ubuntu-20.04 "
203+ runs-on : " ubuntu-latest "
204204 if : " startsWith(github.ref, 'refs/tags/v')"
205205 steps :
206206 - name : " Check out repository code"
207207 uses : " actions/checkout@v2"
208208 - name : " Set up Python"
209209 uses : " actions/setup-python@v2"
210210 with :
211- python-version : " 3.9 "
211+ python-version : " 3.12 "
212212 - name : " Install Python Packages"
213213 run : " pip install poetry"
214214 - name : " Set env"
@@ -229,15 +229,15 @@ jobs:
229229 - " pytest"
230230 publish_pypi :
231231 name : " Push Package to PyPI"
232- runs-on : " ubuntu-20.04 "
232+ runs-on : " ubuntu-latest "
233233 if : " startsWith(github.ref, 'refs/tags/v')"
234234 steps :
235235 - name : " Check out repository code"
236236 uses : " actions/checkout@v2"
237237 - name : " Set up Python"
238238 uses : " actions/setup-python@v2"
239239 with :
240- python-version : " 3.9 "
240+ python-version : " 3.12 "
241241 - name : " Install Python Packages"
242242 run : " pip install poetry"
243243 - name : " Set env"
0 commit comments