ci(convention): Add testAll root task to aggregate module tests.
#82
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CodeQL | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - '**/*.kt' | |
| - '**/*.kts' | |
| - '**/*.java' | |
| - '.github/workflows/codeql.yml' | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - '**/*.kt' | |
| - '**/*.kts' | |
| - '**/*.java' | |
| - '.github/workflows/codeql.yml' | |
| schedule: | |
| - cron: '20 4 * * 1' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| jobs: | |
| analyze: | |
| name: Analyze (${{ matrix.language }}) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - language: actions | |
| build-mode: none | |
| - language: java-kotlin | |
| build-mode: manual | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: ${{ matrix.language }} | |
| build-mode: ${{ matrix.build-mode }} | |
| queries: security-extended,security-and-quality | |
| - if: ${{ matrix.language == 'java-kotlin' }} | |
| name: Set up Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 25 | |
| - if: ${{ matrix.language == 'java-kotlin' }} | |
| name: Grant execute permission for Gradle | |
| run: chmod +x ./gradlew | |
| - if: ${{ matrix.language == 'java-kotlin' }} | |
| name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v6 | |
| with: | |
| cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| - if: ${{ matrix.language == 'java-kotlin' }} | |
| name: Build for CodeQL | |
| run: ./gradlew classes --stacktrace --no-daemon --no-build-cache | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 | |
| with: | |
| category: /language:${{ matrix.language }} |