Skip to content

Commit 1cb564e

Browse files
committed
ci: 👷 Update CI to use poetry setup v6 and specify ver 1.8.5
1 parent f32e473 commit 1cb564e

File tree

1 file changed

+24
-8
lines changed

1 file changed

+24
-8
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
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:
@@ -40,7 +42,9 @@ jobs:
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:
@@ -53,7 +57,9 @@ jobs:
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:
@@ -66,7 +72,9 @@ jobs:
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:
@@ -79,7 +87,9 @@ jobs:
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:
@@ -92,7 +102,9 @@ jobs:
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:
@@ -103,7 +115,9 @@ jobs:
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:
@@ -118,7 +132,9 @@ jobs:
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"

0 commit comments

Comments
 (0)