Skip to content

Commit

Permalink
Merge pull request #7 from moondance-labs/girazoki-process-slashes
Browse files Browse the repository at this point in the history
process slashes in gateway
  • Loading branch information
girazoki authored Jan 24, 2025
2 parents 801219c + d8b10ed commit 4e02380
Show file tree
Hide file tree
Showing 14 changed files with 393 additions and 179 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/cancel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Cancel
on: [push]
jobs:
cancel:
name: "Cancel Previous Build"
if: github.ref != 'refs/heads/master'
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: styfle/[email protected]
with:
workflow_id: ".github/workflows/test.yml"
all_but_latest: true
access_token: ${{ github.token }}
15 changes: 13 additions & 2 deletions .github/workflows/relayer.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow will test relayer

name: Relayer
name: Test

on:
push:
Expand Down Expand Up @@ -51,12 +51,23 @@ jobs:
- name: Check mage
run: mage --version

- name: Run Forge fmt
run: |
forge fmt overridden_contracts/ --check
id: fmt

- name: Build
run: mage build

- name: Check if go contract bindings are up-to-date
run: git diff --exit-code ./relays/contracts || (echo "The contract bindings are not up-to-date against contracts." && exit 1)

- name: Test
- name: Test Relayer
run: mage test

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

Loading

0 comments on commit 4e02380

Please sign in to comment.