---
kind: pipeline
name: linters
steps:
- name: run shellcheck
image: alpine:latest
commands:
- apk add shellcheck
- shellcheck abra
- name: run unit tests
image: docker:dind
- apk add bats curl
- bats test.bats
trigger:
branch:
- main