mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-26 13:48:59 +08:00
Update run-commit.yml
This commit is contained in:
parent
eb5f6203d8
commit
3664dbb362
6
.github/workflows/run-commit.yml
vendored
6
.github/workflows/run-commit.yml
vendored
@ -10,10 +10,12 @@ jobs:
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
node-version: 1.17
|
||||
- run: gofmt -s -w .
|
||||
- run: |
|
||||
go install mvdan.cc/gofumpt@latest
|
||||
gofumpt -l -w .
|
||||
- name: Commit changes
|
||||
uses: EndBug/add-and-commit@v7
|
||||
with:
|
||||
author_name: ${{ github.actor }}
|
||||
author_email: ${{ github.actor }}@users.noreply.github.com
|
||||
message: 'gofmt'
|
||||
message: 'gofumpt'
|
||||
|
Loading…
x
Reference in New Issue
Block a user