Skip to content

A simple and opinionated action that simplifies setting up Poetry, installing dependencies and using cache so you don't have to ⚡

License

Notifications You must be signed in to change notification settings

benjavicente/setup-poetry

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

setup-poetry

A simple and opinionated action that simplifies setting up Poetry, installing dependencies and using cache so you don't have to ⚡

Note: this repository was generated from actions/typescript-action

Usage

name: example
on: push

jobs:
  lint-code:
    runs-on: ubuntu-latest
      - uses: actions/checkout@v2
      - uses: actions/setup-python@v2
        # Remember to use a python version that matches
        # the specified version in pyproject.toml
        with: { python-version: 3.9 }

      - uses: benjavicente/setup-poetry@main
        with: # default arguments
          poetry-version: 1.1.11
          cache-installation: true
          cache-dependencies: true
          install-dependencies: true

      - run: poetry run black src/

About

A simple and opinionated action that simplifies setting up Poetry, installing dependencies and using cache so you don't have to ⚡

Resources

License

Stars

Watchers

Forks

Packages

No packages published