diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c471eba..45e423e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -3,9 +3,15 @@ name: test on: pull_request: branches: [main, master, staging, dev, feat/**, fix/**] + env: + FOUNDRY_PROFILE: pr + push: + branches: [main, master, staging, dev] + env: + FOUNDRY_PROFILE: ci env: - FOUNDRY_PROFILE: ci + FORGE_SNAPSHOT_CHECK: true jobs: check: diff --git a/foundry.toml b/foundry.toml index 71b68fe..88deca3 100644 --- a/foundry.toml +++ b/foundry.toml @@ -8,8 +8,10 @@ via_ir = true solc = "0.8.23" verbosity = 2 ffi = true -fs_permissions = [{ access = "read-write", path = ".forge-snapshots"}, - { access = "read", path = "script/" }] +fs_permissions = [ + { access = "read-write", path = ".forge-snapshots"}, + { access = "read", path = "script/" } +] remappings = [ "forge-std=lib/forge-std/src",