Skip to content

Commit

Permalink
Merge branch 'main' of github.com:risc0/bonsai-foundry-template into …
Browse files Browse the repository at this point in the history
…0xalizk/main
  • Loading branch information
nategraf committed Feb 15, 2024
2 parents 4935d23 + bb242d8 commit b8e8291
Show file tree
Hide file tree
Showing 26 changed files with 1,514 additions and 3,609 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
uses: actions/checkout@v3

- name: install rust
uses: risc0/risc0/.github/actions/rustup@42266f0b6bd28de208b7c47b50dd4bcf241f76ce
uses: risc0/risc0/.github/actions/rustup@release-0.19

- name: cargo clean
run: cargo clean
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
submodules: recursive

- name: install rust
uses: risc0/risc0/.github/actions/rustup@42266f0b6bd28de208b7c47b50dd4bcf241f76ce
uses: risc0/risc0/.github/actions/rustup@release-0.19

- name: install cargo-sort
uses: risc0/cargo-install@v1
Expand Down
29 changes: 27 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ concurrency:

env:
RUST_BACKTRACE: "1"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RISC0_VERSION: 0.20.1
RISC0_TOOLCHAIN_VERSION: test-release-2

jobs:
integration:
Expand All @@ -30,11 +33,22 @@ jobs:
submodules: recursive

- name: install rust
uses: risc0/risc0/.github/actions/rustup@42266f0b6bd28de208b7c47b50dd4bcf241f76ce
uses: risc0/risc0/.github/actions/rustup@release-0.19

- name: Install Foundry
uses: risc0/foundry-toolchain@2fe7e70b520f62368a0e3c464f997df07ede420f

- name: Install cargo-install
uses: risc0/cargo-install@v1
with:
crate: cargo-binstall

- name: Cargo binstall cargo-risczero
run: cargo binstall -y --force cargo-risczero@${{ env.RISC0_VERSION }}

- name: risczero toolchain install
run: cargo risczero install --version $RISC0_TOOLCHAIN_VERSION

- name: build solidity contracts
run: forge build

Expand All @@ -58,11 +72,22 @@ jobs:
submodules: recursive

- name: install rust
uses: risc0/risc0/.github/actions/rustup@42266f0b6bd28de208b7c47b50dd4bcf241f76ce
uses: risc0/risc0/.github/actions/rustup@release-0.19

- name: Install Foundry
uses: risc0/foundry-toolchain@2fe7e70b520f62368a0e3c464f997df07ede420f

- name: Install cargo-install
uses: risc0/cargo-install@v1
with:
crate: cargo-binstall

- name: Cargo binstall cargo-risczero
run: cargo binstall -y --force cargo-risczero@${{ env.RISC0_VERSION }}

- name: risczero toolchain install
run: cargo risczero install --version $RISC0_TOOLCHAIN_VERSION

- name: build solidity contracts
run: forge build

Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ out/
/broadcast/*/11155111/
/broadcast/**/dry-run/

# Docs
docs/

# Dotenv file
.env

Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
[submodule "lib/risc0"]
path = lib/risc0
url = https://github.com/risc0/risc0
branch = release-0.17
branch = "release-0.20"
Loading

0 comments on commit b8e8291

Please sign in to comment.