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

Clean up disk between clippys in CI #2188

Merged
merged 4 commits into from
Oct 12, 2023
Merged
Changes from all commits
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
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,17 @@ jobs:
cargo clippy --release --features evm -- -D warnings
echo "::endgroup::"

- name: Clean up disk
working-directory: ./tee-worker
run: |
echo "::group::Show disk usage"
df -h .
echo "::endgroup::"
cargo clean --profile release
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we need --profile release here? Can we simply clean all?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's actually the same - we have release profile only anyway

echo "::group::Show disk usage"
df -h .
echo "::endgroup::"

- name: Tee-enclave clippy
working-directory: ./tee-worker/enclave-runtime
run: |
Expand Down