Skip to content

Setup Python Poetry Just

Actions
An action to setup Python, Poetry and Just plus install project dependencies
v1.0.0
Latest
Star (0)

Tags

 (1)

Python GitHub Action

This GitHub Action sets up Python, Poetry and Just, as well as using Just to install project dependencies, in your workflow.

Notes

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.

Examples

Workflow using default versions

name: CI

on: pull_request

jobs:
  <job_name>:
    runs-on: ubuntu-latest
    steps:
      - uses: cmb84scd/python-action@v1
      - run: your code

Workflow passing in Python and Poetry versions

name: 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 code

Setup 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.

About

An action to setup Python, Poetry and Just plus install project dependencies
v1.0.0
Latest

Tags

 (1)

Setup 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.