Compare commits
1 changed files with 0 additions and 16 deletions
|
|
@ -56,22 +56,6 @@ jobs:
|
||||||
- name: lint
|
- name: lint
|
||||||
run: sh scripts/check-attribution-trailers.sh
|
run: sh scripts/check-attribution-trailers.sh
|
||||||
|
|
||||||
shellcheck:
|
|
||||||
name: shellcheck
|
|
||||||
runs-on: [hive-ci]
|
|
||||||
timeout-minutes: 10
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: lint
|
|
||||||
# By shebang, not a `*.sh` glob — scripts/pre-push has no suffix.
|
|
||||||
run: |
|
|
||||||
files=$(grep -lE '^#!.*/(env[[:space:]]+)?(ba)?sh([[:space:]]|$)' scripts/* 2>/dev/null)
|
|
||||||
if [ -z "$files" ]; then
|
|
||||||
echo "no shell files discovered under scripts/ — check the shebang pattern" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
echo "$files" | xargs nix develop -c shellcheck -S warning
|
|
||||||
|
|
||||||
prose-lint:
|
prose-lint:
|
||||||
name: prose lint (vale)
|
name: prose lint (vale)
|
||||||
runs-on: [hive-ci]
|
runs-on: [hive-ci]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue