mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-16 21:32:11 +08:00
20 lines
461 B
YAML
20 lines
461 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 mod tidy
|
|
- name: Commit changes
|
|
uses: EndBug/add-and-commit@v7
|
|
with:
|
|
author_name: ${{ github.actor }}
|
|
author_email: ${{ github.actor }}@users.noreply.github.com
|
|
message: 'go mod tidy'
|