-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding foundry setup phase, pulling stables for PRs too
- Loading branch information
1 parent
27bdb8b
commit 8e6aa2c
Showing
5 changed files
with
46 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: Install Foundry | ||
description: Installs the workspace's foundry | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,13 +14,22 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Nargo | ||
uses: noir-lang/[email protected] | ||
- name: Get latest version | ||
id: versions_step | ||
run: | | ||
output=$(node ./.github/scripts/latest.js) | ||
echo "Output from Node.js script: $output" | ||
STABLE=$(echo $output | jq -r '.stable') | ||
echo "::set-output name=stable::$STABLE" | ||
- name: Set up nargo | ||
uses: ./.github/actions/setup-nargo | ||
with: | ||
toolchain: 0.11.0 | ||
version: ${{ steps.versions_step.outputs.stable }} | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
- name: Set up foundry | ||
uses: ./.github/actions/setup-foundry | ||
|
||
- name: Generate verifier contract | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters