This repository has been archived by the owner on Dec 3, 2024. It is now read-only.
Add audit information #587
Workflow file for this run
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
name: ABI Go Bindings Checker | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
abi_binding: | |
name: abi_binding | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout avalanche-interchain-token-transfer repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Install Foundry | |
run: ./scripts/install_foundry.sh | |
- name: Generate ABI Go bindings | |
run: | | |
export PATH=$PATH:$HOME/.foundry/bin | |
export GOPATH=$HOME/go | |
export PATH="$PATH:$GOPATH/bin" | |
./scripts/abi_bindings.sh | |
- name: Print diff | |
run: git --no-pager diff -- abi-bindings/**.go | |
- name: Fail if diff exists | |
run: git --no-pager diff --quiet -- abi-bindings/**.go |