Skip to content

Instantly share code, notes, and snippets.

@root-ansh
Created March 11, 2022 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save root-ansh/cacdedf54488e7b6247aa58e97865414 to your computer and use it in GitHub Desktop.
Save root-ansh/cacdedf54488e7b6247aa58e97865414 to your computer and use it in GitHub Desktop.
static code analysers
# .github/workflows/basic.yaml
- name: CodeAnalysis via detekt
run: ./gradlew detekt
- name: Upload detekt results
uses: actions/upload-artifact@v2
with:
name: detekt_results
path:app/build/reports/detekt
- name: CodeAnalysis via checkstyle
run: ./gradlew checkstyle
- name: Upload checkstyle results
uses: actions/upload-artifact@v2
with:
name: checkstyle_results
path: app/build/reports/checkstyle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment