Fix progress bar warning for clusters with noise extraction #49
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: [ master, main ] | |
pull_request: | |
branches: [ master, main ] | |
jobs: | |
codeql: | |
# run code coverage only on main repository | |
if: github.repository == 'elki-project/elki' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 8 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: java | |
queries: +security-and-quality | |
config-file: ./.github/codeql-config.yml | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
# run codeQL without tests, to not see warnings for trivialities still tested. | |
# hence, assemble, codeQL, test | |
- name: Assemble with Gradle | |
run: ./gradlew --no-daemon assemble | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |