-
Notifications
You must be signed in to change notification settings - Fork 4
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
CI - Prover Performance metric fix - 2 #584
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
@@ Coverage Diff @@
## main #584 +/- ##
=======================================
Coverage 56.50% 56.50%
=======================================
Files 314 316 +2
Lines 31957 31983 +26
=======================================
+ Hits 18057 18073 +16
- Misses 13900 13910 +10
|
337957a
to
e2a15f4
Compare
Commit: 292bdb9 SP1 Performance Test Results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think is possible to save the "mustached" stuff ${{ foo.BAR }}
in an env
then use that env
instead in
strata/.github/workflows/prover.yml
Lines 52 to 61 in e2a15f4
- name: Run performance evaluation | |
run: | | |
cargo run --profile prover-ci -- \ | |
--post-to-gh \ | |
--github-token "${{ secrets.GITHUB_TOKEN }}" \ | |
--pr-number "${{ github.event.pull_request.number }}" \ | |
--commit-hash "${{ github.sha }}" \ | |
working-directory: provers/perf | |
env: | |
RUSTFLAGS: "-C target-cpu=native -C link-arg=-fuse-ld=lld" |
We use that in
strata/.github/workflows/cron-nightly-rust.yml
Lines 48 to 57 in de7ffbb
env: | |
NIGHTLY_DATE: ${{ env.nightly_date }} | |
with: | |
author: Update Nightly Rustc Bot <[email protected]> | |
committer: Update Nightly Rustc Bot <[email protected]> | |
title: Automated update to rustc (to nightly-$NIGHTLY_DATE) | |
body: | | |
Automated update to Rust nightly by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action | |
commit-message: Automated update to Rust nightly-$NIGHTLY_DATE | |
branch: create-pull-request/automated-nightly-update |
This will greatly reduce the command injection attack surface.
See https://woodruffw.github.io/zizmor/audits/#template-injection
Description
Type of Change
Notes to Reviewers
Checklist
Related Issues