imp(staking): implement the EditValidator function for staking precompiled contract #3446
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-go-code: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22" | |
check-latest: true | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.E2E_PAT }} | |
- run: go install mvdan.cc/gofumpt@latest | |
- run: make format | |
# Commit formatted files if necessary | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: run make format |