GitHub Action
Pipx Install Action
v1.0.0
Latest version
Install Python packages using pipx with cache support on GitHub Actions.
Use this action to install Python packages using pipx, especially for tools written in Python that should be installed in isolated environments. After installation, this action will automatically save the installed packages to a cache to speed up installations for subsequent workflow runs.
- Installs Python packages using pipx.
- Caches Python package installations to be used in subsequent workflow runs.
Name | Type | Description |
---|---|---|
packages |
Multiple strings (required) | Names of the Python packages to be installed. |
This example demonstrates how to use the Pipx Install Action to install Ruff in a GitHub Actions workflow:
name: Python CI
on:
push:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.2
- name: Install Ruff
uses: threeal/pipx-install-action@v1.0.0
with:
packages: ruff
# Add more steps as needed for the workflow
This project is licensed under the terms of the MIT License.
Copyright © 2024 Alfi Maulana