Releases: isbecker/treefmt-action
Releases · isbecker/treefmt-action
v1.4.0
General improvements to the codebase
v1.3.0
What's Changed
Full Changelog: v1.2.0...v1.3.0
v1.2.0
v1.0.1
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
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 theversion
input. Default islatest
. - Configuration File: Use the
config_file
input to specify the path to yourtreefmt.toml
configuration file. Default istreefmt.toml
. - Working Directory: Set the working directory for
treefmt
with theworking_directory
input. Default is the current directory. - Cache Control: Control caching behavior with the
no_cache
andclear_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
andtree_root_file
inputs. - Traversal Method: Select the method for file traversal (
auto
,git
, orfilesystem
) with thewalk
input. Default isauto
. - 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.