-
Notifications
You must be signed in to change notification settings - Fork 17
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
chore: change .github/workflows
of cargo near new
project (interactive build choice)
#264
chore: change .github/workflows
of cargo near new
project (interactive build choice)
#264
Conversation
diff -r old/.github/workflows/deploy-production.yml new/.github/workflows/deploy-production.yml
21c21
< cargo near deploy "${{ vars.NEAR_CONTRACT_PRODUCTION_ACCOUNT_ID }}" \
---
> cargo near deploy build-reproducible-wasm "${{ vars.NEAR_CONTRACT_PRODUCTION_ACCOUNT_ID }}" \
diff -r old/.github/workflows/deploy-staging.yml new/.github/workflows/deploy-staging.yml
44c44
< cargo near deploy --skip-git-remote-check "${{ env.NEAR_CONTRACT_PR_STAGING_ACCOUNT_ID }}" \
---
> cargo near deploy build-reproducible-wasm --skip-git-remote-check "${{ env.NEAR_CONTRACT_PR_STAGING_ACCOUNT_ID }}" \ |
@race-of-sloths include |
@dj8yfo Thank you for your contribution! Your pull request is now a part of the Race of Sloths! Current status: executed
Your contribution is much appreciated with a final score of 2! @frol received 25 Sloth Points for reviewing and scoring this pull request. What is the Race of SlothsRace of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow For contributors:
For maintainers:
Feel free to check our website for additional details! Bot commands
|
.github/workflows
of project, created by cargo near new
.github/workflows
of cargo near new
project (interactive build choice)
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.
@race-of-sloths score 2
this will look now like the following ```bash ❯ : cargo near build non-reproducible-wasm --help Runs on current filesystem state without many restrictions Usage: cargo-near near build non-reproducible-wasm [OPTIONS] Options: --locked --no-release --no-abi --no-embed-abi --no-doc --no-wasmopt --out-dir <OUT_DIR> --manifest-path <MANIFEST_PATH> --features <FEATURES> --no-default-features --color <COLOR> [possible values: auto, always, never] --env <ENV> -h, --help Print help -V, --version Print version ``` ```bash ❯ : cargo near build reproducible-wasm --help Requires `docker` config added and (git)committed to Cargo.toml, runs on clean (git)working tree state Usage: cargo-near near build reproducible-wasm [OPTIONS] Options: --no-locked --out-dir <OUT_DIR> --manifest-path <MANIFEST_PATH> --color <COLOR> [possible values: auto, always, never] -h, --help Print help -V, --version Print version ``` --- this is pending - [x] deploy cmd dispatch in current pr - [x] logic to enforce correct `container_build_command` for newer images (ones, that will be built after release of this pr) - [x] prettier indents in interactive help msgs in current pr - [x] separate pr onto current pr as base branch with tests fixed as per api change (#263) - [x] testing of this pr on a few common cases (sample-crate, factory-rust, neardevhub-contract) (in comment #262 (comment)) - [x] separate pr onto current pr as base branch with `.github/workflows` change /testing (#264) - [x] separate pr onto current pr as base branch with docs/README update (#265) - [ ] merge --------- Co-authored-by: dj8yf0μl <[email protected]>
checked on https://github.com/dj8yfo/workflows_test/actions/runs/12243985822/job/34154726255 and https://github.com/dj8yfo/workflows_test/actions/runs/12244281047/job/34155683767 (mirroring change in dj8yfo/workflows_test@5464b2c)