chore(CI): add check documentation using embedmd command
https://github.com/appleboy/gorush/issues/704 Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
This commit is contained in:
7
.github/workflows/go.yml
vendored
7
.github/workflows/go.yml
vendored
@@ -18,11 +18,16 @@ jobs:
|
|||||||
go-version: '^1'
|
go-version: '^1'
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Setup golangci-lint
|
|
||||||
|
- name: check documentation
|
||||||
|
run : make embedmd
|
||||||
|
|
||||||
|
- name: check golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v3
|
uses: golangci/golangci-lint-action@v3
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: --verbose
|
args: --verbose
|
||||||
|
|
||||||
- uses: hadolint/hadolint-action@v3.0.0
|
- uses: hadolint/hadolint-action@v3.0.0
|
||||||
name: hadolint for Dockerfile.linux.amd64
|
name: hadolint for Dockerfile.linux.amd64
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user