Improvements in the woodpecker pipeline (#20) #21

Merged
Aire-One merged 6 commits from feat/#20 into master 2022-10-23 19:17:20 +02:00
1 changed files with 9 additions and 0 deletions
Showing only changes of commit 7a8dca2e4f - Show all commits

View File

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