29
29
- name : " Check out repository code"
30
30
uses : " actions/checkout@v2"
31
31
- 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"
33
35
- name : " Linting: black"
34
36
run : " poetry run invoke black"
35
37
bandit :
40
42
- name : " Check out repository code"
41
43
uses : " actions/checkout@v2"
42
44
- 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"
44
48
- name : " Linting: bandit"
45
49
run : " poetry run invoke bandit"
46
50
needs :
53
57
- name : " Check out repository code"
54
58
uses : " actions/checkout@v2"
55
59
- 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"
57
63
- name : " Linting: pydocstyle"
58
64
run : " poetry run invoke pydocstyle"
59
65
needs :
66
72
- name : " Check out repository code"
67
73
uses : " actions/checkout@v2"
68
74
- 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"
70
78
- name : " Linting: flake8"
71
79
run : " poetry run invoke flake8"
72
80
needs :
79
87
- name : " Check out repository code"
80
88
uses : " actions/checkout@v2"
81
89
- 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"
83
93
- name : " Linting: mypy"
84
94
run : " poetry run invoke mypy"
85
95
needs :
92
102
- name : " Check out repository code"
93
103
uses : " actions/checkout@v2"
94
104
- 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"
96
108
- name : " Linting: yamllint"
97
109
run : " poetry run invoke yamllint"
98
110
needs :
@@ -103,7 +115,9 @@ jobs:
103
115
- name : " Check out repository code"
104
116
uses : " actions/checkout@v2"
105
117
- 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"
107
121
- name : " Build Container"
108
122
run : " poetry run invoke build"
109
123
needs :
@@ -118,7 +132,9 @@ jobs:
118
132
- name : " Check out repository code"
119
133
uses : " actions/checkout@v2"
120
134
- 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"
122
138
- name : " Build Container"
123
139
run : " poetry run invoke build"
124
140
- name : " Linting: Pylint"
@@ -129,8 +145,8 @@ jobs:
129
145
strategy :
130
146
fail-fast : true
131
147
matrix :
132
- python-version : ["3.8", "3. 9", "3.10", "3.11"]
133
- poetry-version : ["1.5.1 "]
148
+ python-version : ["3.9", "3.10", "3.11"]
149
+ poetry-version : ["1.8.5 "]
134
150
runs-on : " ubuntu-24.04"
135
151
env :
136
152
PYTHON_VER : " ${{ matrix.python-version }}"
@@ -140,7 +156,7 @@ jobs:
140
156
- name : " Setup environment"
141
157
uses : " networktocode/gh-action-setup-poetry-environment@3ea5d3ecf382cdcb0c74d4c0ff0629d95fce63c7"
142
158
env :
143
- POETRY_VERSION : 1.5.1
159
+ POETRY_VERSION : 1.8.5
144
160
with :
145
161
python-version : " ${{ matrix.python-version }}"
146
162
poetry-version : " ${{ matrix.poetry-version }}"
0 commit comments