mirror of
https://github.com/songoda/SongodaCore.git
synced 2024-11-27 12:35:12 +01:00
37 lines
782 B
YAML
37 lines
782 B
YAML
|
name: CodeQL
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ master, development ]
|
||
|
pull_request:
|
||
|
# The branches below must be a subset of the branches above
|
||
|
branches: [ master, development ]
|
||
|
schedule:
|
||
|
- cron: 30 18 * * 4
|
||
|
|
||
|
permissions:
|
||
|
actions: read
|
||
|
contents: read
|
||
|
security-events: write
|
||
|
|
||
|
jobs:
|
||
|
Analyze:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout repository
|
||
|
uses: actions/checkout@v3
|
||
|
|
||
|
- name: Initialize CodeQL
|
||
|
uses: github/codeql-action/init@v2
|
||
|
with:
|
||
|
languages: java
|
||
|
|
||
|
- name: Prepare Workspace
|
||
|
uses: ./.github/actions/setup_project_workspace
|
||
|
|
||
|
- name: Build with Maven
|
||
|
run: mvn -B -DskipTests clean package
|
||
|
|
||
|
- name: Perform CodeQL Analysis
|
||
|
uses: github/codeql-action/analyze@v2
|