Skip to content

Commit

Permalink
create codeql workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joshschriever committed Aug 16, 2023
1 parent b40be4b commit aee9b2a
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CodeQL

on:
schedule:
- cron: '24 7 * * 1-5'
workflow_dispatch:

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

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

- uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
tools: latest
languages: java

- name: Build
run: ./gradlew --no-daemon --no-build-cache -Dkotlin.compiler.execution.strategy=in-process clean gordon-plugin:assemble

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:java"

0 comments on commit aee9b2a

Please sign in to comment.