diktat
diktat copied to clipboard
GitHub Marketplace: integrate diktat to the marketplace
Diktat: Kotlin Static Analyzer
Need to create an action inside of GitHub marketplace for Diktat
Default behaviour:
- Downloads latest versions of ktlint and diktat to
GitHub.workspace/diktat - Recursively runs
./ktlint -R diktat.jar --disabled_rules=standardon the default GitHub Actions root workspace:GitHub.workspace - Stores the result into special directory with SARIF results
- Uploads SARIF results to GitHub
Extra (non-default) options
- If you wish to customise the behaviour of diktat - you can simply put
diktat-analysis.ymlinto the root path of your project and provide it to the Action withconfigoption; - If you wish to customise the path that leads to the project - you can simply provide
projectPathoption that will be relative to your GitHub workspace
@icemachined if you would make a marketplace app for save-cloud - probably it would be easy to make the same for diktat
@nulls also mentioned a very good idea: what if we will be very aggressive and will make fixes and commit them automatically
We can also be less aggressive and propose changes as review comments, so that the user will be able to commit them using Github web UI
We can also be less aggressive and propose changes as review comments, so that the user will be able to commit them using Github web UI
there will be too many commits, I guess...
These suggestions can be committed as a single commit using 'Add suggestion to batch' feature
These suggestions can be committed as a single commit using 'Add suggestion to batch' feature
yeah, I forgot about this. Good idea
Implemented: saveourtool/benedikt.