Skip to content

New Crowdin updates #3039

New Crowdin updates

New Crowdin updates #3039

Workflow file for this run

name: CodeQL
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: '0 4 * * 5'
jobs:
analyze:
name: Security analysis
runs-on: ubuntu-latest
steps:
- name: Checkout repository
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.
- name: Checkout head
run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Workaround for Android Gradle plugin issue
run: "echo \"ndk.dir=${ANDROID_HOME}/ndk-bundle\" > local.properties"
- name: Build debug APKs
uses: eskatos/gradle-command-action@v1
with:
arguments: assembleDebug --stacktrace
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1