Skip to content

Fix action on ubuntu-latest (26.04) - #10

Open
last-genius wants to merge 2 commits into
whisperity:masterfrom
last-genius:master
Open

last-genius wants to merge 2 commits into
whisperity:masterfrom
last-genius:master

Conversation

@last-genius

Copy link
Copy Markdown

apt-key has been deprecated on Ubuntu for a while, and was removed on
26.04, which Github Actions started to use by default for ubuntu-latest
runners.

Follow the suggestion in https://askubuntu.com/a/1307181 to avoid using
it.

Signed-off-by: Andrii Sultanov <andriy.sultanov@vates.tech>
pip 24.1 broke the previous hack:

    ERROR: Invalid requirement: 'codechecker==': Expected end or semicolon (after name and no valid version specifier)
        codechecker==

Fix by using a really big version number. In the future, move away from
the hack by using 'pip index versions codechecker' - 'pip index' was
only added relatively recently so we need to wait for it to filter down
to distros used by the runners.

Signed-off-by: Andrii Sultanov <andriy.sultanov@vates.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant