test(evm): Add tests for bank wrapper #185
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: Auto Format | |
on: | |
pull_request: | |
permissions: read-all | |
jobs: | |
format-code: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
# Checkout repository | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.E2E_PAT }} | |
# Install shell formatter | |
- run: sudo apt-get install -y shfmt | |
# Set up Go | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22" | |
check-latest: true | |
# Install Go formatter | |
- run: go install mvdan.cc/gofumpt@latest | |
# Set up Python | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
# Install Python formatters | |
- run: pip install black isort | |
# Run the combined format command | |
- run: make format | |
# Commit formatted files if necessary | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: run make format |