File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
.github/actions/python-environment Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -6,27 +6,27 @@ inputs:
66 python-version :
77 description : ' Python version to use'
88 required : true
9- default : 3.8
9+ default : " 3.8"
1010
1111 poetry-version :
1212 description : ' Poetry version to use'
1313 required : true
14- default : 1.2.2
14+ default : " 1.2.2"
1515
1616runs :
1717
1818 using : " composite"
1919 steps :
2020
21+ - name : Setup Poetry (${{ inputs.poetry-version }})
22+ run : pipx install poetry==${{ inputs.poetry-version }}
23+ shell : bash
24+
2125 - name : Setup Python (${{ inputs.python-version}})
2226 uses : actions/setup-python@v5
2327 with :
2428 python-version : ${{ inputs.python-version }}
25-
26- - name : Setup Poetry (${{ inputs.poetry-version }})
27- uses : abatilo/actions-poetry@v2
28- with :
29- poetry-version : ${{ inputs.poetry-version }}
29+ cache : ' poetry'
3030
3131 - name : Poetry install
3232 run : poetry install
Original file line number Diff line number Diff line change 77## ✨ Feature
88
99* #162 : Updated templates for GitHub workflows to inherit secrets by default
10+ * #52 : Add support for caching python dependencies in GitHub workflows
You can’t perform that action at this time.
0 commit comments