Create run-commit.yml
This commit is contained in:
parent
5c7609f116
commit
a2420eab64
|
@ -0,0 +1,19 @@
|
||||||
|
name: Run and commit
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
node-version: 1.17
|
||||||
|
- run: gofmt -s -w ./...
|
||||||
|
- name: Commit changes
|
||||||
|
uses: EndBug/add-and-commit@v7
|
||||||
|
with:
|
||||||
|
author_name: ${{ github.actor }}
|
||||||
|
author_email: ${{ github.actor }}@users.noreply.github.com
|
||||||
|
message: 'Update dist/'
|
Loading…
Reference in New Issue