Skip to content

Commit

Permalink
feat(cicd): restore codeql weekly
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Feb 7, 2025
1 parent 1bbe0e6 commit 0c3ed3b
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
name: "CodeQL"

on:
push:
branches: [develop]
schedule:
- cron: '0 5 * * 1'

workflow_dispatch: {}

jobs:
analyze:
name: Analyze
Expand Down Expand Up @@ -51,13 +51,23 @@ jobs:
# Set up JDK
- name: Set up JDK
uses: actions/setup-java@v4
if: ${{ matrix.language == 'java' }}
with:
distribution: 'temurin'
java-version: 21

- name: Setup gradle
if: ${{ matrix.language == 'java' }}
uses: gradle/actions/setup-gradle@v4

- name: Build with Gradle
if: ${{ matrix.language == 'java' }}
run: ./gradlew testClasses -x :ui:installFrontend -x :ui:assembleFrontend

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
if: ${{ matrix.language != 'java' }}
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
Expand Down

0 comments on commit 0c3ed3b

Please sign in to comment.