Skip to content

Commit 2e17778

Browse files
committed
test
1 parent a6755ce commit 2e17778

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

.github/setup/action.yaml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
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+
109
jobs:
11-
setup:
12-
name: Setup poetry
13-
steps:
10+
using: composite
11+
steps:
1412

1513
- name: Set up Python
1614
uses: actions/setup-python@v4
1715
with:
18-
python-version: ${{ github.event.inputs.python-version }}
16+
python-version: ${{ inputs.python-version }}
1917

2018
- name: Install Poetry
2119
run: python -m pip install poetry
@@ -28,7 +26,7 @@ jobs:
2826
uses: actions/cache@v3
2927
with:
3028
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') }}
3230

3331
- name: Install project dependencies
3432
run: poetry install -vvv --no-root

0 commit comments

Comments
 (0)