actions: add tidy action

This commit is contained in:
Chris Sexton 2022-10-06 08:57:11 -04:00
parent 7ca4a30c14
commit a7b2830b46
1 changed files with 13 additions and 0 deletions

13
.github/workflows/tidy.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Go Tidy
on: [push]
jobs:
build:
name: Go mod tidy check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: katexochen/go-tidy-check@v1
with:
# (Optional) The path to the root of each modules, space separated. Default is the current directory.
modules: . ./...