Skip to content

Update dependency org.asciidoctor:asciidoctorj to v3 #30

Update dependency org.asciidoctor:asciidoctorj to v3

Update dependency org.asciidoctor:asciidoctorj to v3 #30

# This file was generated using Kotlin DSL (.github/workflows/codeql-analysis.main.kts).
# If you want to modify the workflow, please change the Kotlin file and regenerate this YAML file.
# Generated with https://github.com/typesafegithub/github-workflows-kt
name: 'Code scanning - action'
on:
push:
branches:
- '!dependabot/**'
pull_request: {}
merge_group: {}
schedule:
- cron: '0 15 * * TUE'
concurrency:
group: '${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}'
cancel-in-progress: true
jobs:
check_yaml_consistency:
name: 'Check YAML consistency'
runs-on: 'ubuntu-latest'
steps:
- id: 'step-0'
name: 'Check out'
uses: 'actions/checkout@v4'
- id: 'step-1'
name: 'Execute script'
run: 'rm ''.github/workflows/codeql-analysis.yaml'' && ''.github/workflows/codeql-analysis.main.kts'''
- id: 'step-2'
name: 'Consistency check'
run: 'git diff --exit-code ''.github/workflows/codeql-analysis.yaml'''
codeql-build:
name: 'CodeQL-Build'
runs-on: 'ubuntu-latest'
needs:
- 'check_yaml_consistency'
strategy:
fail-fast: false
matrix:
variant:
- '2.5'
- '3.0'
- '4.0'
steps:
- id: 'step-0'
name: 'Checkout Repository'
uses: 'actions/checkout@v4'
- id: 'step-1'
name: 'Set up JDKs'
uses: './.github/actions/setup-build-env'
- id: 'step-2'
name: 'Initialize CodeQL'
uses: 'github/codeql-action/init@v3'
- id: 'step-3'
name: 'Build Spock Classes'
run: './gradlew --stacktrace --no-build-cache testClasses "-Dvariant=${{ matrix.variant }}"'
- id: 'step-4'
name: 'Perform CodeQL Analysis'
uses: 'github/codeql-action/analyze@v3'