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

ci: add CHANGELOG check and specific targets #456

Merged
merged 10 commits into from
Jul 31, 2024

Conversation

SantiagoPittella
Copy link
Collaborator

@SantiagoPittella SantiagoPittella commented Jul 30, 2024

closes #452

TO DO:

  • Changelog check.
  • Rust toolchain metadata on rust-toolchain.toml

Update: This PR will also address #450

@SantiagoPittella SantiagoPittella self-assigned this Jul 30, 2024
@SantiagoPittella SantiagoPittella marked this pull request as ready for review July 30, 2024 21:34
@bobbinth
Copy link
Contributor

Since we are working with CI: could we also address #450?

@SantiagoPittella
Copy link
Collaborator Author

Since we are working with CI: could we also address #450?

Sure!

steps:
- uses: dangoslen/changelog-enforcer@v3
with:
skipLabels: pipelines,tests,documentation,no-changelog
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think I'd use the previously-existing 'no changelog' label for this. We could also delete that one and keep no-changelog, but I think it's a bit better if it's aligned with other Miden repos.

.github/workflows/changelog.yml Outdated Show resolved Hide resolved

# --- Check ---------------------------------------------------------------------------------------

check: ## Builds the CLI binary and client library in release mode
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should add the phony targets for these

* chore: fix build and serialize procedures as bytes

* chore: Point node to next

* Fix node config file
Copy link
Contributor

@bobbinth bobbinth left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you! I did leave a few small comments inline.

@SantiagoPittella SantiagoPittella added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Jul 31, 2024
Copy link
Collaborator

@igamigo igamigo left a comment

Choose a reason for hiding this comment

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

LGTM!

@igamigo igamigo merged commit c224107 into next Jul 31, 2024
12 checks passed
@igamigo igamigo deleted the add-changelog-verification-in-ci branch July 31, 2024 22:01
Comment on lines +113 to +119
.PHONY: check
check: ## Builds the CLI binary and client library in release mode
cargo check --release --features $(FEATURES_CLI)

.PHONY: check-wasm
check-wasm: ## Builds the client library for wasm32
cargo check --target wasm32-unknown-unknown --features idxdb,web-tonic --no-default-features --package miden-client
Copy link
Contributor

Choose a reason for hiding this comment

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

I know this has already been merged, but I would do a small follow-up PR to update the descriptions of these commands (otherwise, they are identical to the build commands).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh, my bad. I created this PR to fix this. Will create an issue to link it too. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog This PR does not require an entry in the `CHANGELOG.md` file
Projects
None yet
3 participants