Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set ast = true in foundry.toml #12

Merged
merged 2 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading