Skip to content

Compile first before executing #21

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

Merged
merged 3 commits into from
Apr 7, 2025
Merged

Compile first before executing #21

merged 3 commits into from
Apr 7, 2025

Conversation

ozcodes
Copy link
Collaborator

@ozcodes ozcodes commented Apr 7, 2025

No description provided.

@ozcodes ozcodes requested review from H00N24, fnast9 and Copilot April 7, 2025 11:54
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

run: |
RUN_CERTORA="${{ github.action_path }}/scripts/run-certora.sh"
if [[ "$CERTORA_COMPILATION_STEPS_ONLY" == "true" ]]; then
CERTORA_COMPILATION_STEPS_ONLY=true bash "$RUN_CERTORA" && \
Copy link
Preview

Copilot AI Apr 7, 2025

Choose a reason for hiding this comment

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

The use of '&&' to chain the two script calls means that if the first execution fails, the second will not run. If this is not intentional, consider separating the commands or handling errors appropriately.

Suggested change
CERTORA_COMPILATION_STEPS_ONLY=true bash "$RUN_CERTORA" && \
CERTORA_COMPILATION_STEPS_ONLY=true bash "$RUN_CERTORA"; \

Copilot uses AI. Check for mistakes.

@ozcodes ozcodes changed the title Run execution after compilation only step Compile first before executing Apr 7, 2025
@ozcodes ozcodes merged commit 7ab3282 into main Apr 7, 2025
1 check passed
@ozcodes ozcodes deleted the oz/compile branch April 7, 2025 12:42
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