Skip to content

Commit

Permalink
Add a codeql yaml and modify it to be closer to android to see if tha…
Browse files Browse the repository at this point in the history
…t improves builds
  • Loading branch information
jhaven-stytch committed Feb 21, 2025
1 parent 6d96ce3 commit 06df484
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: "CodeQL Advanced"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '25 5 * * 2'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 60
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'java' ]

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 17

- name: Autobuild
run: |
echo "Run, Build Application using script"
./gradlew --no-daemon assemble
env:
GOOGLE_OAUTH_CLIENT_ID: 'abc123'
PASSKEYS_DOMAIN: 'abc123'

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"

0 comments on commit 06df484

Please sign in to comment.