|
|
@ -16,7 +16,7 @@ jobs:
|
|
|
|
security-events: write
|
|
|
|
security-events: write
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Exclude paths
|
|
|
|
- name: Exclude paths
|
|
|
|
# The importers are excluded from analysis, because some of the apps Aegis
|
|
|
|
# The importers are excluded from analysis, because some of the apps Aegis
|
|
|
|
# can import from don't have such great crypto, which will cause false
|
|
|
|
# can import from don't have such great crypto, which will cause false
|
|
|
@ -24,18 +24,18 @@ jobs:
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
find app/src/main/java/com/beemdevelopment/aegis/importers ! \( -name AegisImporter.java -o -name "DatabaseImporter*" \) -type f -exec rm -f {} +
|
|
|
|
find app/src/main/java/com/beemdevelopment/aegis/importers ! \( -name AegisImporter.java -o -name "DatabaseImporter*" \) -type f -exec rm -f {} +
|
|
|
|
sed -i '/Importer.class/d' app/src/main/java/com/beemdevelopment/aegis/importers/DatabaseImporter.java
|
|
|
|
sed -i '/Importer.class/d' app/src/main/java/com/beemdevelopment/aegis/importers/DatabaseImporter.java
|
|
|
|
- uses: actions/setup-java@v3
|
|
|
|
- uses: actions/setup-java@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
java-version: '17'
|
|
|
|
java-version: '17'
|
|
|
|
distribution: 'temurin'
|
|
|
|
distribution: 'temurin'
|
|
|
|
cache: 'gradle'
|
|
|
|
cache: 'gradle'
|
|
|
|
- name: Initialize CodeQL
|
|
|
|
- name: Initialize CodeQL
|
|
|
|
uses: github/codeql-action/init@v2
|
|
|
|
uses: github/codeql-action/init@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
languages: java
|
|
|
|
languages: java
|
|
|
|
- name: Build
|
|
|
|
- name: Build
|
|
|
|
run: ./gradlew assembleDebug
|
|
|
|
run: ./gradlew assembleDebug
|
|
|
|
- name: Perform CodeQL Analysis
|
|
|
|
- name: Perform CodeQL Analysis
|
|
|
|
uses: github/codeql-action/analyze@v2
|
|
|
|
uses: github/codeql-action/analyze@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
category: "/language:${{matrix.language}}"
|
|
|
|
category: "/language:${{matrix.language}}"
|
|
|
|