From a7b2830b46390d53b25dfdab52202bafb6a54e84 Mon Sep 17 00:00:00 2001 From: Chris Sexton <3216719+chrissexton@users.noreply.github.com> Date: Thu, 6 Oct 2022 08:57:11 -0400 Subject: [PATCH] actions: add tidy action --- .github/workflows/tidy.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/tidy.yml diff --git a/.github/workflows/tidy.yml b/.github/workflows/tidy.yml new file mode 100644 index 0000000..5b63b76 --- /dev/null +++ b/.github/workflows/tidy.yml @@ -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: . ./... \ No newline at end of file