Skip to content

Commit

Permalink
CI: run test-contracts when a new commit pushed to the PR (#1259)
Browse files Browse the repository at this point in the history
  • Loading branch information
jianoaix authored Feb 11, 2025
1 parent 7d32544 commit b2f7294
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: test-contracts
on:
push:
pull_request:
types: [opened, reopened]
types: [opened, reopened, synchronize]

env:
FOUNDRY_PROFILE: ci
Expand Down Expand Up @@ -71,18 +71,18 @@ jobs:
uses: borales/actions-yarn@v4
with:
cmd: install

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Install forge dependencies
run: |
yarn
forge install
working-directory: ./contracts

- name: Setup Go 1.21.13
uses: actions/setup-go@v5
with:
Expand All @@ -92,4 +92,4 @@ jobs:
run: go install github.com/ethereum/go-ethereum/cmd/abigen@latest

- name: Bindings diff check
run: make compile-contracts && git diff --exit-code
run: make compile-contracts && git diff --exit-code

0 comments on commit b2f7294

Please sign in to comment.