Skip to the content.

File Lint [docker action]

Lint various files in many ways (CR / CRLF / trailing \n / etc)

To save space in workflow files, its possible to use the matrix to run this job multiple times with a different command.

Adapted from cytopia/awesome-ci.

The latest version available for this action is 40c22b7a. It was last updated on Thu Apr 21 2022.

Inputs

command

The specific command to be run.

Available Commands

path

The path to the repository that will be checked. Defaults to the location of actions/checkout default path.

ignore

List of paths to be ignored

Examples

As a step in pre-existing job.

This simple job example has the bare minimum required to run.

file-lint: name: File Lint runs-on: ubuntu-latest steps: - uses: actions/checkout@master - uses: dogmatic69/actions@40c22b7a with: command: foobar

This example has all possible inputs, with dummy data.

file-lint: name: File Lint runs-on: ubuntu-latest steps: - uses: actions/checkout@master - uses: dogmatic69/actions@40c22b7a with: command: foobar path: foobar ignore: foobar