From 89bc97d15eab65ed93d5d10b9aac3f73db8d62f0 Mon Sep 17 00:00:00 2001 From: "Bo-Yi.Wu" Date: Tue, 20 Dec 2022 20:45:58 +0800 Subject: [PATCH] chore(CI): add check documentation using embedmd command https://github.com/appleboy/gorush/issues/704 Signed-off-by: Bo-Yi.Wu --- .github/workflows/go.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index edb5c3d..23bf73c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -18,11 +18,16 @@ jobs: go-version: '^1' - name: Checkout repository uses: actions/checkout@v3 - - name: Setup golangci-lint + + - name: check documentation + run : make embedmd + + - name: check golangci-lint uses: golangci/golangci-lint-action@v3 with: version: latest args: --verbose + - uses: hadolint/hadolint-action@v3.0.0 name: hadolint for Dockerfile.linux.amd64 with: