labtime/.woodpecker/lint.yaml

32 lines
623 B
YAML

---
when:
event: pull_request
steps:
woodpecker:
image: woodpeckerci/woodpecker-cli:v2.7.3-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.15.4
commands:
- /usr/local/bin/cspell-cli lint .
depends_on: []
golangci-lint:
image: golangci/golangci-lint:v1.61.0
commands:
- golangci-lint run --timeout 15m
depends_on: []