19
19
uses : " actions/checkout@v4"
20
20
- name : " Setup environment"
21
21
uses : " networktocode/gh-action-setup-poetry-environment@v6"
22
+ with :
23
+ poetry-version : " 1.8.5"
22
24
- name : " Linting: black"
23
25
run : " poetry run invoke black"
24
26
mypy :
30
32
uses : " actions/checkout@v4"
31
33
- name : " Setup environment"
32
34
uses : " networktocode/gh-action-setup-poetry-environment@v6"
35
+ with :
36
+ poetry-version : " 1.8.5"
33
37
- name : " Linting: mypy"
34
38
run : " poetry run invoke mypy"
35
39
bandit :
41
45
uses : " actions/checkout@v4"
42
46
- name : " Setup environment"
43
47
uses : " networktocode/gh-action-setup-poetry-environment@v6"
48
+ with :
49
+ poetry-version : " 1.8.5"
44
50
- name : " Linting: bandit"
45
51
run : " poetry run invoke bandit"
46
52
pydocstyle :
52
58
uses : " actions/checkout@v4"
53
59
- name : " Setup environment"
54
60
uses : " networktocode/gh-action-setup-poetry-environment@v6"
61
+ with :
62
+ poetry-version : " 1.8.5"
55
63
- name : " Linting: pydocstyle"
56
64
run : " poetry run invoke pydocstyle"
57
65
flake8 :
63
71
uses : " actions/checkout@v4"
64
72
- name : " Setup environment"
65
73
uses : " networktocode/gh-action-setup-poetry-environment@v6"
74
+ with :
75
+ poetry-version : " 1.8.5"
66
76
- name : " Linting: flake8"
67
77
run : " poetry run invoke flake8"
68
78
yamllint :
74
84
uses : " actions/checkout@v4"
75
85
- name : " Setup environment"
76
86
uses : " networktocode/gh-action-setup-poetry-environment@v6"
87
+ with :
88
+ poetry-version : " 1.8.5"
77
89
- name : " Linting: yamllint"
78
90
run : " poetry run invoke yamllint"
79
91
pylint :
97
109
uses : " actions/checkout@v4"
98
110
- name : " Setup environment"
99
111
uses : " networktocode/gh-action-setup-poetry-environment@v6"
112
+ with :
113
+ poetry-version : " 1.8.5"
100
114
- name : " Linting: Pylint"
101
115
run : " poetry run invoke pylint"
102
116
pytest :
@@ -115,6 +129,8 @@ jobs:
115
129
uses : " actions/checkout@v4"
116
130
- name : " Setup environment"
117
131
uses : " networktocode/gh-action-setup-poetry-environment@v6"
132
+ with :
133
+ poetry-version : " 1.8.5"
118
134
- name : " Run Tests"
119
135
run : " poetry run invoke pytest"
120
136
publish_gh :
0 commit comments