Skip to content

Commit

Permalink
chore: bump cargo-generate version
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Aug 2, 2024
1 parent 0c081ee commit d02e12d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run cargo generate
uses: cargo-generate/cargo-generate-action@v0.18.3
uses: cargo-generate/cargo-generate-action@v0.20.0
with:
name: ${{ env.PROJECT_NAME }}
template: simple
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run cargo generate
uses: cargo-generate/cargo-generate-action@v0.18.3
uses: cargo-generate/cargo-generate-action@v0.20.0
with:
name: ${{ env.PROJECT_NAME }}
template: simple-async
Expand All @@ -60,11 +60,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run cargo generate
uses: cargo-generate/cargo-generate-action@v0.18.3
uses: cargo-generate/cargo-generate-action@v0.20.0
with:
name: ${{ env.PROJECT_NAME }}
template: component
template_values_file: .github/workflows/template.toml
arguments: |
-d gh-username="ratatui" \
-d project-description="Example of ratatui template" \
-d use_gitserver=false
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cargo check
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/template.toml

This file was deleted.

1 change: 1 addition & 0 deletions cargo-generate.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# configuration for https://cargo-generate.github.io/cargo-generate/

[template]
cargo_generate_version = ">=0.20.0"
sub_templates = ["simple", "simple-async", "component"]

0 comments on commit d02e12d

Please sign in to comment.