From 60f91d5c884e3751cc2302ec6ef84c22fd4300cd Mon Sep 17 00:00:00 2001 From: steven Date: Thu, 17 Oct 2024 14:09:51 -0400 Subject: [PATCH] ci: setup daily build and test flow --- .github/workflows/daily-test.yaml | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/daily-test.yaml diff --git a/.github/workflows/daily-test.yaml b/.github/workflows/daily-test.yaml new file mode 100644 index 00000000..d01e9281 --- /dev/null +++ b/.github/workflows/daily-test.yaml @@ -0,0 +1,36 @@ +name: Daily Build And Test Dev + +on: + workflow_dispatch: + schedule: + - cron: '0 0 * * *' +jobs: + check: + strategy: + fail-fast: true + defaults: + run: + working-directory: ./contracts + + name: Foundry project + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Install Foundry + uses: foundry-rs/foundry-toolchain@v1 + with: + version: nightly + + - name: Run Forge build + run: | + forge --version + forge build --sizes + id: build + + - name: Run Forge tests + run: | + forge test -vvv + id: test \ No newline at end of file