Skip to content

Commit

Permalink
fix: set ast = true in foundry.toml (#12)
Browse files Browse the repository at this point in the history
* fix: set ast = true flag in foundry.toml

* chore: update CI
  • Loading branch information
yi-sun authored Mar 13, 2024
1 parent ba3807c commit 0adda22
Show file tree
Hide file tree
Showing 4 changed files with 123 additions and 123 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
pull_request:
push:
branches:
- main
- "**"

jobs:
test:
Expand All @@ -15,11 +15,11 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive

- uses: actions/setup-node@v4
with:
node-version: 18

- name: Build CLI
run: |
npm install
Expand All @@ -33,8 +33,8 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly-293fad73670b7b59ca901c7f2105bf7a29165a90
with:
version: nightly

- name: Check forge version
run: forge --version
Expand All @@ -46,7 +46,7 @@ jobs:
run: |
export PROVIDER_URI_SEPOLIA=${{ secrets.PROVIDER_URI_SEPOLIA }}
RUST_BACKTRACE=1 forge test -vvv
test-mac:
name: Foundry Tests Mac
runs-on: macos-14
Expand All @@ -72,8 +72,8 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly-293fad73670b7b59ca901c7f2105bf7a29165a90
with:
version: nightly

- name: Check forge version
run: forge --version
Expand All @@ -85,4 +85,3 @@ jobs:
run: |
export PROVIDER_URI_SEPOLIA=${{ secrets.PROVIDER_URI_SEPOLIA }}
RUST_BACKTRACE=1 forge test -vvv
1 change: 1 addition & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ out = "out"
solc = "0.8.19"
libs = ["node_modules", "lib"]
ffi = true
ast = true

[rpc_endpoints]
sepolia = "${PROVIDER_URI_SEPOLIA}"
Expand Down
Loading

0 comments on commit 0adda22

Please sign in to comment.