Skip to content

Commit

Permalink
Use older rust toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
jawoznia committed Nov 21, 2024
1 parent c76460f commit 5b5a5ce
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ jobs:
env:
PROJECT_NAME: project-foo
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Generate project
uses: cargo-generate/cargo-generate-action@latest
with:
name: ${{ env.PROJECT_NAME }}
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: 1.81.0
target: wasm32-unknown-unknown
profile: minimal
override: true
components: rustfmt, clippy
- name: Checkout source
uses: actions/checkout@v4
- name: Generate project
uses: cargo-generate/cargo-generate-action@latest
with:
name: ${{ env.PROJECT_NAME }}
# we need to move the generated project to a temp folder, away from the template project
# otherwise `cargo` runs would fail
# see https://github.com/rust-lang/cargo/issues/9922
Expand Down

0 comments on commit 5b5a5ce

Please sign in to comment.