Skip to content
This repository was archived by the owner on Jan 2, 2024. It is now read-only.

TheFabbiusCorp/gha-kotlin-linter

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

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action Kotlint

This GitHub action runs the Kotlin linter ktlint.

Example usage

An MVE can be obtained by putting the below code into a YAML file located inside the .github/workflows folder:

name: kotlint

on:
  pull_request:
    paths:
      - "**/*.kt"
      - ".github/workflows/ktlint.yml"

 jobs:
   ktlint:
     runs-on: ubuntu-latest

     steps:
       - name: "checkout"
         uses: actions/checkout@v2.3.2

       - name: "ktlint"
         uses: fabiocapasso93/gha-kotlin-linter@v1.0

About

GitHub action to lint Kotlin code

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%