mirror of https://github.com/shirou/gopsutil
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
518 B
YAML
22 lines
518 B
YAML
name: Run and commit
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.17
|
|
- 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: 'gofumpt'
|