-
Notifications
You must be signed in to change notification settings - Fork 11
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: add GHA workflow to build and release artifacts #107
Conversation
WalkthroughThe project has implemented a new GitHub Actions workflow for building and releasing WebAssembly artifacts automatically upon pushes to the main branch. Additionally, there's been a version bump in a script related to the Docker image for compiling smart contracts, indicating an upgrade to the toolchain. Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on X ? TipsChat with CodeRabbit Bot (
|
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.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to filter (1)
- Cargo.lock
Files selected for processing (2)
- .github/workflows/build-artifacts.yml (1 hunks)
- scripts/wasm-out.sh (1 hunks)
Additional comments: 2
.github/workflows/build-artifacts.yml (1)
- 1-40: The workflow is well-structured and follows best practices for setting up a CI/CD pipeline using GitHub Actions. It correctly checks out the code, sets up caching for Rust dependencies, builds the wasm files, and publishes a release. Ensure that the
GITHUB_TOKEN
has the correct permissions to create releases and that theartifacts/*
path correctly points to the compiled wasm files.scripts/wasm-out.sh (1)
- 14-20: The update to the Docker image version in the
wasm
function is correct and reflects the change mentioned in the PR objectives and AI-generated summary. However, ensure that this version update does not introduce any breaking changes or incompatibilities with the current codebase.
Runs the
cosmwasm/workspace-optimizer
Docker image to build the CosmWasm contracts and uploads them to a new GitHub Release.I ran this workflow on a separate branch and it worked. It created this prerelease.
With the approval of this PR, every merge to the
main
branch will create a new release whose assets contain the latest CosmWasm contracts compiled and optimized..wasm
binaries usingcosmwasm/rust-optimizer
#70Summary by CodeRabbit
New Features
Chores