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

Conversation

Kailai-Wang
Copy link
Collaborator

Context

As topic, see https://github.com/litentry/litentry-parachain/actions/runs/6480387549

Please note jlumbroso/free-disk-space@main doesn't make sense because the job is run inside a container.
There seems to be no built-in way to run steps before containerised jobs: actions/runner#812

Another option would be using docker run manually

@Kailai-Wang Kailai-Wang self-assigned this Oct 11, 2023
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

@Kailai-Wang
Copy link
Collaborator Author

@Kailai-Wang Kailai-Wang requested a review from a team October 11, 2023 14:06
@Kailai-Wang Kailai-Wang merged commit 0574a1f into dev Oct 12, 2023
27 checks passed
@Kailai-Wang Kailai-Wang deleted the p-164-clippy-runs-out-of-space-in-ci branch October 12, 2023 08:49
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.

2 participants