Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

process slashes in gateway #7

Merged
merged 23 commits into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
girazoki marked this conversation as resolved.
Show resolved Hide resolved
id: test

Loading
Loading