ci(lint): add lint-pipeline step
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/pr/lint Pipeline failed Details
ci/woodpecker/push/build unknown status Details
ci/woodpecker/pr/build unknown status Details

This commit is contained in:
Aire-One 2022-10-23 13:26:05 +02:00
parent 58953fabf4
commit 7a8dca2e4f
1 changed files with 9 additions and 0 deletions

View File

@ -1,4 +1,5 @@
variables:
- &golang_image 'golang:1.18'
- &when_path_lua
- ".woodpecker/lint.yml"
- "justfile"
@ -9,6 +10,14 @@ variables:
- "**/*.tl"
pipeline:
lint-pipeline:
image: *golang_image
commands:
- go run github.com/woodpecker-ci/woodpecker/cmd/cli lint
when:
path:
- ".woodpecker/**"
lint-lua:
image: ghcr.io/lunarmodules/luacheck:v0.26.1
group: lint