labtime/.woodpecker/lint.yaml

32 lines
623 B
YAML
Raw Permalink Normal View History

2024-08-23 00:57:04 +02:00
---
when:
event: pull_request
steps:
woodpecker:
image: woodpeckerci/woodpecker-cli:v2.7.3-alpine
2024-08-23 00:57:04 +02:00
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
2024-08-23 00:57:04 +02:00
commands:
- /usr/local/bin/cspell-cli lint .
depends_on: []
2024-08-23 01:27:19 +02:00
golangci-lint:
image: golangci/golangci-lint:v1.61.0
2024-08-23 01:27:19 +02:00
commands:
- golangci-lint run --timeout 15m
depends_on: []