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

[CHERRY-PICK] MsWheaPkg: Add EFIAPI to relevant functions [Rebase & FF] #443

Merged
merged 2 commits into from
Feb 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
.github/workflows/codeql.yml: Use cargo-make 0.37.9
Matches the version specified in rust-toolchain.toml since this is
now checked during build. A file sync will follow in the future to
update the version as it changes in Mu DevOps Version.njk file.

Signed-off-by: Michael Kubacki <[email protected]>
makubacki committed Feb 24, 2024
commit b31630c9cf4e11a867796b965eb1b1c18d862eff
18 changes: 12 additions & 6 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -157,17 +157,23 @@ jobs:
import requests

GITHUB_REPO = "sagiegurari/cargo-make"
API_URL = f"https://api.github.com/repos/{GITHUB_REPO}/releases/latest"
api_url = f"https://api.github.com/repos/{GITHUB_REPO}/releases/tags/0.37.9"

# Default value in case getting latest fails, cache will fall
# back on this version.
latest_cargo_make_version = "0.36.13"
response = requests.get(API_URL)
response = requests.get(api_url)
if response.status_code == 200:
build_release_id = response.json()["id"]
else:
print("::error title=GitHub Release Error!::Failed to get cargo-make release ID!")
sys.exit(1)

api_url = f"https://api.github.com/repos/{GITHUB_REPO}/releases/{build_release_id}"

response = requests.get(api_url)
if response.status_code == 200:
latest_cargo_make_version = response.json()["tag_name"]
else:
print("::error title=GitHub Release Error!::Failed to get latest cargo-make version!")
print("::error title=GitHub Release Error!::Failed to get cargo-make!")
sys.exit(1)

cache_key = f'cargo-make-{latest_cargo_make_version}'