Skip to content

ci: pin setup-bats action to v1 #9

ci: pin setup-bats action to v1

ci: pin setup-bats action to v1 #9

Workflow file for this run

name: lint
on:
push:
branches: [ main ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # allow git-describe etc. to work later
- name: Install ShellCheck
run: |
sudo apt-get update -qq
sudo apt-get install -y shellcheck
- name: Run ShellCheck
run: shellcheck $(git ls-files '*.sh' '*.zsh')
- name: Set up Bats
uses: mig4/setup-bats@v1
- name: Run Bats tests
run: bats test