Skip to content

Fix cargo-generate#22

Merged
Oghma merged 1 commit into
mainfrom
fix-cargo-generate
Sep 1, 2025
Merged

Fix cargo-generate#22
Oghma merged 1 commit into
mainfrom
fix-cargo-generate

Conversation

@Oghma
Copy link
Copy Markdown
Contributor

@Oghma Oghma commented Sep 1, 2025

.github/workflows/coverage-pr.yml and .github/workflows/semver-checks.yml cause some problems to cargo generate. I have added them to the exluded list.

Error logs:

➜  cargo generate --git https://github.com/NethermindEth/rust-template
🤷   Project Name: stellar-risc0-verifier
🔧   Destination: /Users/oghma/Documents/Work/stellar-risc0-verifier ...
🔧   project-name: stellar-risc0-verifier ...
🔧   Generating template ...
[ 1/41]   Done: .githooks/pre-push                                                                                                                                                                          
[ 2/41]   Done: .githooks                                                                                                                                                                        
[ 3/41]   Done: .github/PULL_REQUEST_TEMPLATE/bugfix.md                                                                                                                                                          
[ 4/41]   Done: .github/PULL_REQUEST_TEMPLATE/choose.md                                                                                                                                                          
[ 5/41]   Done: .github/PULL_REQUEST_TEMPLATE/feature.md                                                                                                                                                         
[ 6/41]   Done: .github/PULL_REQUEST_TEMPLATE                                                                                                                                                                    
[ 7/41]   Done: .github/workflows/build-and-test.yml                                                                                                                                                             
[ 9/41]   Done: .github/workflows/coverage.yml                                                                                                                                                                   
[10/41]   Skipped: .github/workflows/dependency-audit.yml                                                                                                                                                        
[11/41]   Done: .github/workflows/docs.yml                                                                                                                                                                       
[12/41]   Done: .github/workflows/linter.yml                                                                                                                                                                     
[14/41]   Done: .github/workflows/ub-detection.yml                                                                                                                                                               
[15/41]   Done: .github/workflows                                                                                                                                                                                
[16/41]   Done: .github                                                                                                                                                                                          
[17/41]   Done: .gitignore                                                                                                                                                                                       
[18/41]   Done: CODEOWNERS                                                                                                                                                                                       
[19/41]   Done: CONTRIBUTING.md                                                                                                                                                                                  
[20/41]   Done: Cargo.toml                                                                                                                                                                                       
[21/41]   Done: LICENSE                                                                                                                                                                                          
[22/41]   Done: README.md                                                                                                                                                                                        
[23/41]   Done: SECURITY.md                                                                                                                                                                                      
[24/41]   Done: _typos.toml                                                                                                                                                                                      
[25/41]   Done: deny.toml                                                                                                                                                                                        
[26/41]   Done: examples/Cargo.toml                                                                                                                                                                              
[27/41]   Done: examples/README.md                                                                                                                                                                               
[28/41]   Done: examples/src/bin/addition.rs                                                                                                                                                                     
[29/41]   Done: examples/src/bin                                                                                                                                                                                 
[30/41]   Done: examples/src                                                                                                                                                                                     
[31/41]   Done: examples                                                                                                                                                                                         
[32/41]   Done: katex-header.html                                                                                                                                                                                
[33/41]   Done: rust-toolchain.toml                                                                                                                                                                              
[34/41]   Done: rustfmt.toml                                                                                                                                                                                     
[35/41]   Done: template_crate/Cargo.toml                                                                                                                                                                        
[36/41]   Done: template_crate/README.md                                                                                                                                                                         
[37/41]   Done: template_crate/doc/mainpage-doc.md                                                                                                                                                               
[38/41]   Done: template_crate/doc                                                                                                                                                                               
[39/41]   Done: template_crate/src/lib.rs                                                                                                                                                                        
[40/41]   Done: template_crate/src                                                                                                                                                                               
[41/41]   Done: template_crate                                                                                                                                                                                   
Error: Substitution skipped, found invalid syntax in
        .github/workflows/coverage-pr.yml
        .github/workflows/semver-checks.yml

Consider adding these files to a `cargo-generate.toml` in the template repo to skip substitution on these files.

Learn more: https://github.com/cargo-generate/cargo-generate#include--exclude.

@Oghma Oghma requested a review from a team as a code owner September 1, 2025 09:46
Copy link
Copy Markdown
Collaborator

@maksimryndin maksimryndin left a comment

Choose a reason for hiding this comment

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

lgtm

@Oghma Oghma merged commit 63fe185 into main Sep 1, 2025
8 checks passed
@Oghma Oghma deleted the fix-cargo-generate branch September 1, 2025 10:51
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