Add CircleCI config as free CI alternative

This commit is contained in:
2026-06-20 15:17:27 -03:00
parent 291e063d33
commit 81ab921e3d
+52
View File
@@ -0,0 +1,52 @@
version: 2.1
jobs:
lint:
docker:
- image: koalaman/shellcheck-alpine:stable
steps:
- checkout
- run:
name: ShellCheck
command: |
apk add bash
for f in unleash lib/*.sh examples/*.sh; do
[ -f "$f" ] || continue
echo "Checking: $f"
shellcheck -S warning "$f" || exit 1
done
syntax:
docker:
- image: alpine:latest
steps:
- checkout
- run:
name: Bash Syntax Check
command: |
apk add bash
for f in unleash lib/*.sh examples/*.sh; do
[ -f "$f" ] || continue
echo "Checking: $f"
bash -n "$f" || exit 1
done
markdown:
docker:
- image: alpine:latest
steps:
- checkout
- run:
name: Markdown Lint
command: |
apk add npm
npm install -g markdownlint-cli
markdownlint '*.md' || true
workflows:
version: 2
ci:
jobs:
- lint
- syntax
- markdown