forked from android-password-store/Android-Password-Store
-
Notifications
You must be signed in to change notification settings - Fork 29
40 lines (35 loc) · 976 Bytes
/
codeql_analysis.yml
File metadata and controls
40 lines (35 loc) · 976 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: "CodeQL"
on:
workflow_dispatch:
# push:
# branches:
# - develop
# pull_request:
# branches:
# - develop
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Setup build environment
uses: agrahn/android-password-store/.github/reusable-workflows/setup-gradle@68f7c5b4be36b0b41a3a9c0597837cb9b433e0a2 # develop
with:
java-version: 21
- name: Initialize CodeQL
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
with:
languages: java
tools: latest
queries: +security-extended
- name: Build project
shell: bash
run: ./gradlew assembleRelease
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
with:
category: "/language:java"