-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
1,093 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Copyright (C) 2023, Ava Labs, Inc. All rights reserved. | ||
# See the file LICENSE for licensing terms. | ||
|
||
name: ABI Go Binding | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- "*" | ||
|
||
env: | ||
GO_VERSION: "1.20.7" | ||
|
||
jobs: | ||
abi_binding: | ||
name: abi_binding | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- name: Checkout go-ethereum repository | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: ethereum/go-ethereum | ||
ref: v1.13.1 | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
|
||
- name: Install abigen tool | ||
run: make | ||
run: make devtools | ||
|
||
- name: Create ABI Go bindings | ||
run: mkdir -p abis/go/teleport-messenger | ||
run: abigen --abi abis/TeleporterMessenger.json --pkg teleport_messenger --out teleport-messenger/teleport_messenger.go |
Oops, something went wrong.