improvements #5436
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Check Codestyle" | ||
on: | ||
workflow_call: | ||
inputs: | ||
runs-on: | ||
description: 'Runner type' | ||
required: true | ||
type: string | ||
jobs: | ||
java-gradle-setup: | ||
uses: ./.github/workflows/shared/setup-java-gradle.yml | ||
with: | ||
runs-on: ubuntu-latest | ||
static-code-analysis: | ||
runs-on: ubuntu-latest | ||
needs: [ java-gradle-setup ] | ||
steps: | ||
- name: Run Detekt | ||
run: | | ||
make detekt/run-verify | ||
- name: Cleanup Gradle Cache | ||
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions. | ||
# Restoring these files from a GitHub Actions cache might cause problems for future builds. | ||
run: | | ||
rm -f ~/.gradle/caches/modules-2/modules-2.lock | ||
rm -f ~/.gradle/caches/modules-2/gc.properties |