ankidroid / Anki-Android

AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
GNU General Public License v3.0
8.73k stars 2.24k forks source link

[security] Setup CodeQL for `java-kotlin` #16286

Open david-allison opened 6 months ago

david-allison commented 6 months ago
  [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 commented 6 months ago

Steps to generate the workflow:

Screenshot 2024-04-28 at 00 33 29

It's late here... tomorrow

david-allison commented 6 months ago

I'll block this on https://github.com/github/codeql-action/issues/1855

github-actions[bot] commented 3 months ago

Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

david-allison commented 3 months ago

No longer blocked, linked issue is resolved

github-actions[bot] commented 3 weeks ago

Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

mikehardy commented 3 weeks ago

I believe this is ready to go, just needs a minute, I'll get it after 2.19 is out when I do an infrastructure sweep