ci: add lint pipeline
This commit is contained in:
parent
6e46013a9a
commit
7aa02a1aa2
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
when:
|
||||
event: pull_request
|
||||
|
||||
steps:
|
||||
woodpecker:
|
||||
image: woodpeckerci/woodpecker-cli:v2.7.0-alpine
|
||||
commands:
|
||||
- woodpecker-cli lint .woodpecker/*.yaml
|
||||
when:
|
||||
path: .woodpecker/**/*.yaml
|
||||
depends_on: []
|
||||
|
||||
dockerfile:
|
||||
image: ghcr.io/hadolint/hadolint:v2.12.0
|
||||
when:
|
||||
path:
|
||||
- Dockerfile
|
||||
depends_on: []
|
||||
|
||||
cspell:
|
||||
image: ghcr.io/streetsidesoftware/cspell:8.13.3
|
||||
commands:
|
||||
- /usr/local/bin/cspell-cli lint .
|
||||
depends_on: []
|
Loading…
Reference in New Issue