add shell check
This commit is contained in:
parent
4ca1cd44c7
commit
bef89d5475
2 changed files with 18 additions and 0 deletions
|
|
@ -11,6 +11,9 @@ when:
|
|||
variables:
|
||||
- &golang_image 'golang:1.22'
|
||||
|
||||
depends_on:
|
||||
- test
|
||||
|
||||
steps:
|
||||
"Add vendor":
|
||||
image: *golang_image
|
||||
|
|
|
|||
15
.woodpecker/test.yml
Normal file
15
.woodpecker/test.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
when:
|
||||
- event: [pull_request, tag]
|
||||
- event: push
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
- develop
|
||||
- feature/*
|
||||
- release/*
|
||||
- renovate/*
|
||||
|
||||
steps:
|
||||
"Check sehll scripts":
|
||||
image: pipelinecomponents/shellcheck
|
||||
commands:
|
||||
- shellcheck ./bin/*.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue