mirror of
https://github.com/shirou/gopsutil.git
synced 2025-05-10 19:29:14 +08:00
20 lines
472 B
YAML
20 lines
472 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:
|
|
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/'
|