Merge pull request #1269 from nextcloud/dependabot/github_actions/act… #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CodeQL | |
on: | |
push: | |
branches-ignore: | |
- 'dependabot/**' | |
pull_request: | |
jobs: | |
codeql: | |
name: CodeQL security scan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3.13.0 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: java | |
- name: Build debug APK | |
run: bash ./gradlew assembleDev | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |