Skip to content

final fox

final fox #40

Workflow file for this run

name: CodeClimate
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
codeclimate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Remove GitHub Actions cache
run: rm -rf ~/.cache
- name: Run Checkstyle and generate report
run: ./gradlew checkstyleMain checkstyleTest
- name: Upload Checkstyle report
uses: actions/upload-artifact@v4
with:
name: checkstyle-report
path: app/build/reports/checkstyle/main.xml