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

Fix rustdoc .json files overwriting each other #270

Merged
merged 17 commits into from
Jan 23, 2023
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -292,12 +292,12 @@ jobs:

- name: Check return code
run: |
if [[ $(cat return_code) == 0 ]]; then exit 1; else exit 0; fi
if [[ "$(cat return_code)" == "0" ]]; then exit 1; else exit 0; fi

- name: Check output
run: |
EXPECTED=$(echo -e "--- failure auto_trait_impl_removed: auto trait no longer implemented ---\n--- failure trait_missing: pub trait removed or renamed ---")
RESULT=$(cat output | grep failure)
EXPECTED="$(echo -e "--- failure auto_trait_impl_removed: auto trait no longer implemented ---\n--- failure trait_missing: pub trait removed or renamed ---")"
tonowak marked this conversation as resolved.
Show resolved Hide resolved
RESULT="$(cat output | grep failure)"
diff <(echo "$RESULT") <(echo "$EXPECTED")

init-release:
Expand Down