Adjust CodeQL pipeline step

This commit is contained in:
Stefan Niedermann 2021-01-20 10:17:58 +01:00
parent 370806fabd
commit 5c7c174f30

View file

@ -33,18 +33,22 @@ jobs:
api-level: 29
script: ./gradlew connectAndroidTest --stacktrace
codeql:
name: CodeQL security scan
CodeQL Scan:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'java', 'javascript' ]
steps:
- name: Checkout
- name: Checkout repository
uses: actions/checkout@v2
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: java
- name: Build debug APK
run: bash ./gradlew assembleDev --stacktrace
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1