build(deps): bump github.com/tidwall/gjson from 1.17.1 to 1.18.0 #53
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 | |
format-python-code: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.E2E_PAT }} | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- run: pip install black isort | |
- run: make format-python | |
# Commit formatted files if necessary | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: run make format-python |