{"id":16962484,"url":"https://github.com/threeal/setup-poetry-action","last_synced_at":"2025-04-11T22:13:07.715Z","repository":{"id":193461442,"uuid":"688831959","full_name":"threeal/setup-poetry-action","owner":"threeal","description":"Set up your GitHub Actions workflow with a specific version of Poetry ","archived":false,"fork":false,"pushed_at":"2025-03-24T06:31:05.000Z","size":76,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T22:13:01.985Z","etag":null,"topics":["action","actions","github-actions","poetry","python","setup-python"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/threeal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-08T07:42:51.000Z","updated_at":"2025-03-24T06:31:07.000Z","dependencies_parsed_at":"2024-03-16T17:15:31.974Z","dependency_job_id":"0968202e-0dc7-436a-962c-c7d807c81a73","html_url":"https://github.com/threeal/setup-poetry-action","commit_stats":null,"previous_names":["threeal/setup-poetry-action"],"tags_count":6,"template":false,"template_full_name":"threeal/composite-action-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threeal%2Fsetup-poetry-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threeal%2Fsetup-poetry-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threeal%2Fsetup-poetry-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threeal%2Fsetup-poetry-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/threeal","download_url":"https://codeload.github.com/threeal/setup-poetry-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487684,"owners_count":21112190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["action","actions","github-actions","poetry","python","setup-python"],"created_at":"2024-10-13T23:06:53.530Z","updated_at":"2025-04-11T22:13:07.694Z","avatar_url":"https://github.com/threeal.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setup Poetry Action\n\nThe Setup Poetry Action is a [GitHub Action](https://github.com/features/actions) designed to streamline the setup of [Poetry](https://python-poetry.org/), a powerful dependency and packaging manager for [Python](https://www.python.org/) projects. This action allows you to easily configure and use a specific version of Poetry within your GitHub Actions workflow, enabling you to build and test your Python project seamlessly.\n\n## Key Features\n\nThe Setup Poetry Action offers the following key features:\n\n- **Easy Setup:** Quickly make Poetry available in your GitHub Actions workflow.\n- **Version Flexibility:** Specify the desired version of Poetry for your project.\n- **Caching Support:** Speed up the Poetry setup process with caching for improved efficiency.\n\n## Usage\n\nTo get started with the Setup Poetry Action, you can refer to the [action.yml](./action.yml) file for detailed configuration options. Additionally, if you are new to GitHub Actions, you can explore the [GitHub Actions guide](https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions) for a comprehensive overview.\n\n### Inputs\n\nHere are the available input parameters for the Setup Poetry Action:\n\n| Name | Type | Default | Description |\n| --- | --- | --- | --- |\n| `version` | Version number or `latest` | `latest` | Specify the version of Poetry to be set up using this action. You can refer to the [Poetry release history](https://pypi.org/project/poetry/#history) for information about the available versions for setup. |\n| `cache` | `true` or `false` | `true` | Indicates whether to use caching during Poetry installation. |\n\n### Examples\n\nHere is the basic example of how to use the Setup Poetry Action to set up Poetry for installing the dependencies of a Python project in your GitHub Actions workflow:\n\n```yaml\nname: Python CI\non:\n  push:\njobs:\n  build:\n    name: Build\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4.2.2\n\n      - name: Setup Poetry\n        uses: threeal/setup-poetry-action@v1.1.0\n\n      - name: Install dependencies\n        run: poetry install\n\n      # Add more steps as needed for your workflow\n```\n\n#### Specifying Poetry Version\n\nYou can specify the Poetry version to be used by providing it as an input parameter:\n\n```yaml\n- name: Setup Poetry\n  uses: threeal/setup-poetry-action@v1.1.0\n  with:\n    version: 1.5.1\n```\n\n#### Combining with Setup Python Action\n\nTo set both the Python and Poetry versions, you can combine the Setup Poetry Action with the [Setup Python](https://github.com/actions/setup-python) action:\n\n```yaml\n- name: Setup Python\n  uses: actions/setup-python@v5.0.0\n  with:\n    python-version: 3.11\n\n- name: Setup Poetry\n  uses: threeal/setup-poetry-action@v1.1.0\n  with:\n    version: 1.5.1\n```\n\n#### Disable Caching\n\nBy default, caching is enabled. To disable caching, set the `cache` input parameter to `false` as shown below:\n\n```yaml\n- name: Setup Poetry without caching\n  uses: threeal/setup-poetry-action@v1.1.0\n  with:\n    cache: false\n```\n\n## License\n\nThis project is licensed under the terms of the [MIT License](./LICENSE).\n\nCopyright © 2023-2025 [Alfi Maulana](https://github.com/threeal/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreeal%2Fsetup-poetry-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthreeal%2Fsetup-poetry-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreeal%2Fsetup-poetry-action/lists"}