Skip to content

imp(all): Move latest changes from Evmos main (incl. SDK v50) #146

imp(all): Move latest changes from Evmos main (incl. SDK v50)

imp(all): Move latest changes from Evmos main (incl. SDK v50) #146

Workflow file for this run

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