Skip to content

Commit

Permalink
chore: Use checkbashisms
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed May 23, 2024
1 parent 8269dfe commit a3c6f2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
- uses: actions/checkout@v4
- run: |
sudo apt update
sudo apt install shellcheck shfmt
sudo apt install devscripts shellcheck shfmt
- run: checkbashisms $(shfmt -f .)
- run: shellcheck $(shfmt -f .)
- run: shfmt -d -i 4 -sr $(shfmt -f .)
7 changes: 4 additions & 3 deletions script/update
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
#!/bin/sh

function main {
set -eu

main() {
mkdir -p script include tests

for f in Makefile common-requirements.in common-requirements.txt .github/dependabot.yml .github/workflows/lint.yml .github/workflows/shell.yml docs/_static/favicon-16x16.ico include/common.mk include/prologue.mk include/header.html script/diff script/update tests/conftest.py tests/test_common.py; do
Expand Down

0 comments on commit a3c6f2b

Please sign in to comment.