2024-08-23 00:57:04 +02:00
|
|
|
---
|
|
|
|
when:
|
|
|
|
event: pull_request
|
|
|
|
|
|
|
|
steps:
|
|
|
|
woodpecker:
|
2024-09-08 00:17:22 +02:00
|
|
|
image: woodpeckerci/woodpecker-cli:v2.7.1-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:
|
2024-10-12 02:03:29 +02:00
|
|
|
image: ghcr.io/streetsidesoftware/cspell:8.15.1
|
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:
|
2024-09-10 02:29:53 +02:00
|
|
|
image: golangci/golangci-lint:v1.61.0
|
2024-08-23 01:27:19 +02:00
|
|
|
commands:
|
2024-08-24 13:53:01 +02:00
|
|
|
- golangci-lint run --timeout 15m
|
|
|
|
depends_on: []
|