Skip to content

Initial work on ObjectInputFilter #5088

Initial work on ObjectInputFilter

Initial work on ObjectInputFilter #5088

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: "24 16 * * 4"
jobs:
analyze:
name: Analyze
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
language: ["java"]
java-distribution: [temurin]
java-version: [17]
fail-fast: false
steps:
- name: "Check out MegaMek"
uses: actions/checkout@v4
with:
path: megamek
- name: Set up ${{ matrix.java-distribution }} JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
distribution: ${{ matrix.java-distribution }}
java-version: ${{ matrix.java-version }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build with Gradle
working-directory: megamek
run: ./gradlew jar
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3