Skip to content

Patch cycle - 2024 / Cycle 5 #229

Patch cycle - 2024 / Cycle 5

Patch cycle - 2024 / Cycle 5 #229

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
markdownlint-cli:
name: Lint markdown
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Run markdownlint-cli
uses: nosborn/[email protected]
with:
files: .
config_file: ".markdownlint.yaml"
test:
needs: [markdownlint-cli]
runs-on: ubuntu-latest
name: Java ${{ matrix.java-version }}
strategy:
matrix:
java-version:
- '21'
- '23'
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'adopt'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build