Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[security] Setup CodeQL for java-kotlin #16286

Open
david-allison opened this issue Apr 27, 2024 · 2 comments
Open

[security] Setup CodeQL for java-kotlin #16286

david-allison opened this issue Apr 27, 2024 · 2 comments
Labels
Blocked by dependency Currently blocked by some other dependent / related change Dev Development, testing & CI

Comments

@david-allison
Copy link
Member

  [2024-04-21 16:44:07] [autobuild] ERROR: AnkiDroid builds with JVM version 17 or 21.
  [2024-04-21 16:44:07] [autobuild]   Incompatible major version detected: '11'

https://github.com/ankidroid/Anki-Android/actions/runs/8774109064

I believe this should be defined by codeql-analysis.yml. We are currently using default values, and this seems to not have been created.


According to https://redirect.github.com/github/codeql-action/issues/97 , we can use: setup-java, I suspect:

    - name: Setup Java JDK
      uses: actions/setup-java@v4.2.1
      with:
        java-version: 21
@david-allison
Copy link
Member Author

Steps to generate the workflow:

Screenshot 2024-04-28 at 00 33 29

It's late here... tomorrow

@david-allison david-allison added the Dev Development, testing & CI label Apr 27, 2024
@david-allison david-allison changed the title Setup CodeQL for java-kotlin [security] Setup CodeQL for java-kotlin Apr 27, 2024
@david-allison
Copy link
Member Author

I'll block this on github/codeql-action#1855

@david-allison david-allison added the Blocked by dependency Currently blocked by some other dependent / related change label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked by dependency Currently blocked by some other dependent / related change Dev Development, testing & CI
Projects
None yet
Development

No branches or pull requests

1 participant