ci: improve test coverage and API efficiency

- Add a name to the hadolint action in the release-nightly, release-tag, and test workflows

Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
appleboy 2023-04-29 10:39:37 +08:00
parent fc0d12b82a
commit 2c745a8170
3 changed files with 9 additions and 3 deletions

View file

@ -58,7 +58,8 @@ jobs:
with:
fetch-depth: 0 # all history for all branches and tags
- uses: github.com/hadolint/hadolint-action@v3.1.0
- name: dockerfile lint check
uses: https://github.com/hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile

View file

@ -69,7 +69,8 @@ jobs:
with:
fetch-depth: 0 # all history for all branches and tags
- uses: github.com/hadolint/hadolint-action@v3.1.0
- name: dockerfile lint check
uses: https://github.com/hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile

View file

@ -1,5 +1,5 @@
name: checks
on:
on:
- push
- pull_request
@ -36,3 +36,7 @@ jobs:
run: make build
- name: test
run: make test
- name: dockerfile lint check
uses: https://github.com/hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile