Skip to content

Commit

Permalink
ci: move workflows to the root and add triggers (#10)
Browse files Browse the repository at this point in the history
* ci: move ci to root

* ci: renamed test.yml

* ci: fix ci and trigger it on prs and pushes to main
  • Loading branch information
srdtrk authored Aug 6, 2024
1 parent 5b40d01 commit c4483f2
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: test
name: Foundry Test

on: workflow_dispatch
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:

env:
FOUNDRY_PROFILE: ci
Expand All @@ -24,11 +28,13 @@ jobs:

- name: Run Forge build
run: |
cd contracts
forge --version
forge build --sizes
id: build

- name: Run Forge tests
run: |
cd contracts
forge test -vvv
id: test

0 comments on commit c4483f2

Please sign in to comment.