Update run-commit.yml

pull/1208/head
Matthieu MOREL 3 years ago committed by GitHub
parent eb5f6203d8
commit 3664dbb362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,10 +10,12 @@ jobs:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
node-version: 1.17 node-version: 1.17
- run: gofmt -s -w . - run: |
go install mvdan.cc/gofumpt@latest
gofumpt -l -w .
- name: Commit changes - name: Commit changes
uses: EndBug/add-and-commit@v7 uses: EndBug/add-and-commit@v7
with: with:
author_name: ${{ github.actor }} author_name: ${{ github.actor }}
author_email: ${{ github.actor }}@users.noreply.github.com author_email: ${{ github.actor }}@users.noreply.github.com
message: 'gofmt' message: 'gofumpt'

Loading…
Cancel
Save