Skip to content

[security] Setup CodeQL for java-kotlin #16286

@david-allison

Description

@david-allison
  [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/[email protected]
      with:
        java-version: 21

Metadata

Metadata

Assignees

Labels

DevDevelopment, testing & CIHelp WantedRequesting Pull Requests from volunteersKeep Openavoids the stale bot

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions