This GitHub Action sets up Python, Poetry and Just, as well as using Just to install project dependencies, in your workflow.
By default, this Action uses Python version 3.12 and Poetry version 1.8.3 but you can pass in a version of your choosing if you prefer.
This Action caches Poetry, so that project dependencies are only installed if there are changes.
name: CI
on: pull_request
jobs:
<job_name>:
runs-on: ubuntu-latest
steps:
- uses: cmb84scd/python-action@v1
- run: your codename: CI
on: pull_request
jobs:
<job_name>:
runs-on: ubuntu-latest
steps:
- uses: cmb84scd/python-action@v1
with:
poetry-version: 'latest'
python-version: '3.10'
- run: your codeSetup Python Poetry Just is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.