Merge pull request #172 from bunin/patch-1 #494
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: gofmt Linting | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
goLint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: Lint | |
run: | | |
gofmt -l -s -w . | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: 'RoseLoverX: auto Linting' | |
commit_options: '--no-verify' | |
repository: . | |
commit_user_name: AmarnathCjd | |
commit_user_email: [email protected] | |
commit_author: AmarnathCjd <[email protected]> |