add shell check
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Simon Vieille 2024-07-29 12:16:03 +02:00
commit bef89d5475
Signed by: deblan
GPG key ID: 579388D585F70417
2 changed files with 18 additions and 0 deletions

View file

@ -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
View 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