File tree Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Original file line number Diff line number Diff line change 1
- on :
2
- workflow_call :
3
- inputs :
4
- python-version :
5
- required : true
6
- type : string
7
- os :
8
- required : true
9
- type : string
1
+ name : Setup poetry
2
+
3
+ inputs :
4
+ python-version :
5
+ required : true
6
+ os :
7
+ required : true
8
+
10
9
jobs :
11
- setup :
12
- name : Setup poetry
13
- steps :
10
+ using : composite
11
+ steps :
14
12
15
13
- name : Set up Python
16
14
uses : actions/setup-python@v4
17
15
with :
18
- python-version : ${{ github.event. inputs.python-version }}
16
+ python-version : ${{ inputs.python-version }}
19
17
20
18
- name : Install Poetry
21
19
run : python -m pip install poetry
28
26
uses : actions/cache@v3
29
27
with :
30
28
path : poetry.lock
31
- key : ${{ github.event. inputs.os }}-${{ github.event. inputs.python-version }}-poetry-${{ steps.poetry_version.outputs.VERSION }}-${{ hashFiles('pyproject.toml') }}
29
+ key : ${{ inputs.os }}-${{ inputs.python-version }}-poetry-${{ steps.poetry_version.outputs.VERSION }}-${{ hashFiles('pyproject.toml') }}
32
30
33
31
- name : Install project dependencies
34
32
run : poetry install -vvv --no-root
You can’t perform that action at this time.
0 commit comments