Skip to content

Commit

Permalink
Move build-info into just the CI, for faster recompiles (#92)
Browse files Browse the repository at this point in the history
* Move build-info into just the CI, for faster recompiles

* Edit README
  • Loading branch information
Vectorized authored Apr 14, 2024
1 parent cf2f07f commit c26eab5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/foundry_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
# This step requires full build to be run first
- name: Upgrade Safety test
run: |
forge clean && forge build
forge clean && forge build --build-info
# npx @openzeppelin/upgrades-core validate out/build-info

- name: Run Forge tests
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ make # this builds

```sh
forge clean
forge compile
forge compile --build-info
npx @openzeppelin/upgrades-core@^1.32.3 validate out/build-info
```

Expand Down
1 change: 0 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ optimizer_runs = 20000
test = 'test'
solc = '0.8.23'
fs_permissions = [{ access = 'read-write', path = './deploy-out' }, { access = 'read', path = './out' }]
build_info = true
extra_output = ["storageLayout"]

[rpc_endpoints]
Expand Down

0 comments on commit c26eab5

Please sign in to comment.