From 4033dd7f178f438062b5b23bf4b854c679fadb5d Mon Sep 17 00:00:00 2001 From: Stefan Niedermann Date: Tue, 23 Jun 2020 10:03:47 +0200 Subject: Simplify CI job --- .github/workflows/android.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to '.github') diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index cf9c7e940..4605a6415 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -34,26 +34,17 @@ jobs: script: ./gradlew connectDevDebugAndroidTest --stacktrace codeql: - name: CodeQL-Build + name: CodeQL security scan runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - with: - # We must fetch at least the immediate parents so that if this is - # a pull request then we can checkout the head. - fetch-depth: 2 - - # If this run was triggered by a pull request event, then checkout - # the head of the pull request instead of the merge commit. - - run: git checkout HEAD^2 - if: ${{ github.event_name == 'pull_request' }} - - name: Initialize CodeQL uses: github/codeql-action/init@v1 with: languages: java - - run: bash ./gradlew assembleDev --stacktrace + - name: Build debug APK + run: bash ./gradlew assembleDev --stacktrace - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v1 -- cgit v1.2.3