Skip to content

Improve MaxiCode JavaDoc #91

Improve MaxiCode JavaDoc

Improve MaxiCode JavaDoc #91

name: Gradle CI Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-22.04
permissions:
security-events: write # for CodeQL
contents: write # for Gradle dependency graph submission
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
dependency-graph: generate-and-submit
cache-disabled: true # play nice with CodeQL
- name: Build with Gradle
run: |
cd $GITHUB_WORKSPACE
./gradlew build jacocoTestReport
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3