CWMS-2055 - Updates to allow for a token provider with a discovered t… #490
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: [ main ] | |
pull_request: | |
branches: [ main ] | |
schedule: | |
- cron: '0 0 * * 0' | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: 'java' | |
- name: setup java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
java-package: jdk | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/[email protected] | |
with: | |
dependency-graph: generate-and-submit | |
- name: build and test | |
id: build | |
run: ./gradlew build --info --init-script init.gradle | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |