Skip to content

Releases: isbecker/treefmt-action

v1.4.0

01 Jan 02:25
475ac70
Compare
Choose a tag to compare

General improvements to the codebase

v1.3.0

11 Nov 20:37
Compare
Choose a tag to compare

What's Changed

  • fix: change version parsing logic so that it works as intended by @isbecker in #3

Full Changelog: v1.2.0...v1.3.0

v1.2.0

11 Nov 18:51
e69fa3d
Compare
Choose a tag to compare

What's Changed

  • fix: change --working-directory to --working-dir by @isbecker in #4

New Contributors

Full Changelog: v1.0.1...v1.2.0

v1.0.1

03 Jul 02:40
Compare
Choose a tag to compare

v1.0.1

Added

  • Branding: Added an icon and color to the GitHub Action for better visibility in the GitHub Marketplace.
    • Icon: align-justify
    • Color: Orange

v1.0.0

03 Jul 02:32
Compare
Choose a tag to compare

Release Notes for Treefmt GitHub Action v1.0.0

Overview

This release marks the initial launch of the Treefmt GitHub Action, which helps you format your codebase using the treefmt tool. This action automates the process of applying formatters configured in your treefmt.toml file, ensuring your code adheres to your project's formatting standards.

Features

  • Version Selection: Specify the version of treefmt to install with the version input. Default is latest.
  • Configuration File: Use the config_file input to specify the path to your treefmt.toml configuration file. Default is treefmt.toml.
  • Working Directory: Set the working directory for treefmt with the working_directory input. Default is the current directory.
  • Cache Control: Control caching behavior with the no_cache and clear_cache inputs.
  • Fail on Change: Use the fail_on_change input to make the action exit with an error if any changes are made to your files.
  • Formatter Selection: Specify which formatters to apply using the formatters input.
  • Tree Root and Root File: Configure the root directory for file traversal with the tree_root and tree_root_file inputs.
  • Traversal Method: Select the method for file traversal (auto, git, or filesystem) with the walk input. Default is auto.
  • Verbosity: Increase logging verbosity with the verbose input.
  • Handle Unmatched Paths: Log paths that did not match any formatters at a specified log level with the on_unmatched input.