Skip to content

v0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Apr 19:59
· 35 commits to main since this release

Another day, another release of birdcar/actions.

Added

  • New Action: poetry_install. Poetry is a way of managing python packages, and this action automate the setup and caching of Python, Poetry, and the dependencies specified in your poetry.lock file.
  • New Action: poetry_export. A significant amount of both my side projects and the internal tools I develop professionally are deployed on Heroku. At the moment, Heroku requires all Python projects to have a requirements.txt file in the root of the project repository for dependencies to be installed (though that looks to be changing with their move to CloudNativeBuildpacks in the near term future 🤞🏽). This action will use Poetry to generate the requirements.txt file for you, and then commit it to the repository to ensure that you don't need to manage it.

Changed

  • Updated Action: deploy_to_heroku. Initially, the deploy_to_heroku action would also checkout the repository for you. This is actually not great for composing actions together; resulting in either duplicate work (i.e. checking the repository out twice) or odd environmental changes. This update will remove the checkout step and leave that up to the consumer.

Removed

  • Deleted Action: setup_poetry. As it turns out, the actions/setup-python action has built in dependency caching! It needs to be composed with a few other steps to be useful, but the bulk of the work in the setup_poetry was manually performing that caching step, so it's no longer needed. Use poetry_install moving forward, and see the readme in that directory for usage instructions.