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:
parent
fc0d12b82a
commit
2c745a8170
3 changed files with 9 additions and 3 deletions
.gitea/workflows
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue