diff --git a/.github/actions/setup-python-poetry/action.yml b/.github/actions/setup-python-poetry/action.yml deleted file mode 100644 index 62a9555..0000000 --- a/.github/actions/setup-python-poetry/action.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: 'Install Python and Poetry' -description: 'Add Poetry, dependency manager for Python' - -inputs: - python-version: - description: 'Python version' - required: true - poetry-version: - description: 'Poetry version' - required: true - -runs: - using: 'composite' - steps: - - name: Set up Python ${{ inputs.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ inputs.python-version }} - id: setup_python - - name: Install Poetry ${{ inputs.poetry-version }} - run: | - curl -sSL ${{ env.POETRY_URL }} | \ - python - --version ${{ inputs.poetry-version }} - echo "$HOME/.local/bin" >> $GITHUB_PATH - echo "$HOME/AppData/Roaming/Python/Scripts" >> $GITHUB_PATH - echo "$GITHUB_PATH" - shell: bash - env: - POETRY_URL: https://install.python-poetry.org - - name: Check Poetry - run: poetry --version - shell: bash - - name: Cache Poetry cache - uses: actions/cache@v4 - with: - path: | - ~/.cache/pypoetry - .venv - key: poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ inputs.poetry-version }} - - name: Cache Packages - uses: actions/cache@v4 - with: - path: ~/.local - key: poetry-local-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-${{ hashFiles('.github/workflows/*.yml') }}