From bc38cec217d530057930e111f6537859be903df7 Mon Sep 17 00:00:00 2001 From: Paul Razvan Berg Date: Sun, 19 Feb 2023 17:40:51 +0200 Subject: [PATCH] ci: simplify $FOUNDRY_FUZZ_SEED definition --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8615983ac..0d900493c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -200,10 +200,8 @@ jobs: path: "optimized-out" - name: "Generate fuzz seed that changes weekly to avoid burning through RPC allowance" - run: > - echo "FOUNDRY_FUZZ_SEED=$( - echo $(($EPOCHSECONDS - $EPOCHSECONDS % 604800)) - )" >> $GITHUB_ENV + run: | + echo "FOUNDRY_FUZZ_SEED=$(echo $(($EPOCHSECONDS / 604800)))" >> $GITHUB_ENV - name: "Run the end-to-end tests against the optimized build" run: "FOUNDRY_PROFILE=test-optimized forge test --match-path \"test/e2e/**/*.sol\""