Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .github/workflows/checkshell.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Linting

on:
pull_request:

jobs:
shfmt:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6

- name: shfmt
run: |
docker run --rm -v "$(pwd)":/sh -w /sh mvdan/shfmt:v3 -sr -i 2 -l -w -ci .
git diff --color --exit-code

shellcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6

- name: Shellcheck
run: |
shellcheck *.sh
shellcheck test/*.bats

markdownlint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6

- name: Markdownlint
uses: DavidAnson/markdownlint-cli2-action@v22
with:
globs: '*.md'