Skip to content

touchlab-lab/ktlint-action-setup

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

touchlab-lab/ktlint-action-setup

This action installs ktlint.

Input

inputs:
  ktlint_version:
    description: 'KTLint version.'
    default: '0.42.1'

Usage

To run the KTLint action, you need to use a linux machine.

runs-on: ubuntu-latest

Default

steps:
  - uses: touchlab-lab/ktlint-action-setup@1.0.0
  - run: ktlint --version

Specify ktlint version

steps:
  - uses: touchlab-lab/ktlint-action-setup@1.0.0
    with:
        ktlint_version: 0.40.0
  - run: ktlint --version

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages