Skip to content

improvements

improvements #5436

Workflow file for this run

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

Check failure on line 13 in .github/workflows/codestyle.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/codestyle.yml

Invalid workflow file

invalid value workflow reference: workflows must be defined at the top level of the .github/workflows/ directory
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