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