Setup pinterest/ktlint
ActionsTags
(1)This action installs ktlint.
inputs:
ktlint_version:
description: 'KTLint version.'
default: '0.42.1'
To run the KTLint action, you need to use a linux machine.
runs-on: ubuntu-latest
steps:
- uses: faogustavo/ktlint-action-setup@v1
- run: ktlint --version
steps:
- uses: faogustavo/ktlint-action-setup@v1
with:
ktlint_version: 0.40.0
- run: ktlint --version
Setup pinterest/ktlint is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.