Fix CI failures in GitHub workflows#704
Open
Prathamesh9284 wants to merge 2 commits intoapache:mainfrom
Open
Conversation
Contributor
Author
|
Hi @zkaoudi @mspruc @novatechflow , Could you please approve and run the CI checks for this PR? Thank you |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #702
Fixes the CI failure in
.github/workflows/codeql.ymlcaused bysudo apt install -y protobuf-compilerattempting to download a removed Ubuntu package version.Changes
apt-get updatebefore installingprotobuf-compiler.apttoapt-getfor installation sinceapt-getprovides a stable CLI interface recommended for CI/scripts..github/workflows/codeql.ymland.github/workflows/backend.ymlContext
The GitHub Actions runner (
ubuntu-latest) attempted to installprotobuf-compilerversion3.21.12-8.2ubuntu0.2, which had been removed from the Ubuntu mirrors after the release of3.21.12-8.2ubuntu0.3.Because the package index was not refreshed before installation, APT tried to download a version that no longer existed, resulting in 404 errors and causing the CI workflow to fail.
Running
apt-get updatesynchronizes the package metadata with the current state of the Ubuntu repositories, ensuring that the latest available version is installed and preventing future 404 failures.