---
kind: pipeline
name: linters
steps:
- name: run shellcheck
image: debian:buster
commands:
- apt update
- apt install -y shellcheck
- shellcheck abra
- name: run unit tests
- apt install -y bats curl
- curl -fsSL https://get.docker.com | sh
- bats test.bats
trigger:
branch:
- main