Skip to content

Issue MML#2138 Parse industrial cockpit types correctly #125

Issue MML#2138 Parse industrial cockpit types correctly

Issue MML#2138 Parse industrial cockpit types correctly #125

Workflow file for this run

name: Checkstyle
on:
pull_request:
branches: [ main ]
jobs:
checkstyle:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
java-distribution: [ temurin ]
java-version: [ 25 ]
fail-fast: false
steps:
- name: Checkout Data Repo
uses: actions/checkout@v6
with:
repository: megamek/mm-data
path: mm-data
- name: "Check out MegaMek"
uses: actions/checkout@v6
with:
path: megamek
- name: Set up ${{ matrix.java-distribution }} JDK ${{ matrix.java-version }}
uses: actions/setup-java@v5
with:
distribution: ${{ matrix.java-distribution }}
java-version: ${{ matrix.java-version }}
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
- name: Checkstyle
working-directory: megamek
run: ./gradlew checkstyleMain checkstyleTest
- name: Upload Test Logs on Failure
uses: actions/upload-artifact@v6
if: failure()
with:
name: cd-failure-logs
path: megamek/megamek/build/reports/