Skip to content

Commit

Permalink
ci: setup daily build and test flow (Layr-Labs#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevennevins authored Oct 17, 2024
1 parent a0b6cfd commit a25020d
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/daily-test.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a25020d

Please sign in to comment.