Skip to content

Commit

Permalink
fix(ci): update verify-template workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Tjemmmic committed Oct 31, 2024
1 parent 2de3974 commit 1a7eaac
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/verify-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,19 @@ jobs:
PROJECT_NAME: blueprint-template
steps:
- uses: actions/checkout@v4

- name: Install Foundry
run: |
curl -L https://foundry.paradigm.xyz | bash
source /Users/runner/.bashrc
source /home/runner/.bashrc
foundryup
- name: Add Foundry to PATH
run: echo "${HOME}/.foundry/bin" >> $GITHUB_PATH
- name: Verify Forge installation
run: forge --version
- name: Add Foundry to PATH
run: echo "${HOME}/.foundry/bin" >> $GITHUB_PATH

- name: Verify Forge installation
run: forge --version

- uses: JohnPeel/cargo-generate-action@main
with:
name: ${{ env.PROJECT_NAME }}
Expand All @@ -33,9 +37,11 @@ jobs:
--define flakes=true
--define docker=true
--define base-image="rustlang/rust:nightly"
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- run: |
cp -r $PROJECT_NAME ${{ runner.temp }}/
cd ${{ runner.temp }}/$PROJECT_NAME
Expand Down

0 comments on commit 1a7eaac

Please sign in to comment.