Skip to content

feat(contracts): verify xsubmission merke proofs #673

feat(contracts): verify xsubmission merke proofs

feat(contracts): verify xsubmission merke proofs #673

Workflow file for this run

name: pre-commit hooks
# Run on pull requests and commits to main
on:
pull_request:
push:
branches:
- main
jobs:
pre-commit:
runs-on: ubuntu-latest
env:
# Skip a few hooks: Golangci-lint and go-tests have their own actions. Allow lints against main commits.
SKIP: golangci-lint,run-go-tests,no-commit-to-branch
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Add foundry bin to path
# Required to allow pre-commit hooks to install & find foundryup binary
# See https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-system-path
# Matches FOUNDRY_DIR set in scripts/install_foundry.sh
run: echo "${HOME}/.foundry/bin" >> $GITHUB_PATH
- name: Run pre-commit hooks
uses: pre-commit/action@v3.0.0
# TODO(corver): Notify slack on failure on main