43 lines
832 B
YAML
43 lines
832 B
YAML
---
|
|
kind: pipeline
|
|
name: check
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: whitespace
|
|
image: thegeeklab/alpine-tools
|
|
commands:
|
|
- git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
|
|
|
|
- name: packer
|
|
image: hashicorp/packer
|
|
commands:
|
|
- packer fmt -recursive -check -diff .
|
|
|
|
- name: markdownlint
|
|
image: thegeeklab/markdownlint-cli
|
|
commands:
|
|
- markdownlint 'README.md'
|
|
|
|
- name: spellcheck
|
|
image: thegeeklab/alpine-tools
|
|
commands:
|
|
- spellchecker --files 'README.md' -d .dictionary -p spell indefinite-article syntax-urls --no-suggestions
|
|
environment:
|
|
FORCE_COLOR: true
|
|
|
|
trigger:
|
|
ref:
|
|
- refs/heads/main
|
|
- refs/tags/**
|
|
- refs/pull/**
|
|
|
|
---
|
|
kind: signature
|
|
hmac: c0676bb49df70f3e5aaa41597110a6124f0093a21e70c8bcb5e6a537a8295982
|
|
|
|
...
|