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
6 changes: 2 additions & 4 deletions .github/workflows/beautysh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
description: Options to beautysh
type: string
required: false
default: --force-function-style paronly
default: --force-function-style paronly --variable-style braces
jobs:
beautysh:
name: Run beautysh
Expand All @@ -23,9 +23,7 @@ jobs:
- name: Create requirements.txt
run: |
mkdir -p .github/workflows/es-progress/.github
# it seems beautysh in Python 3.11+ requires setuptools explicitly
echo setuptools > .github/workflows/es-progress/.github/requirements.txt
echo beautysh >> .github/workflows/es-progress/.github/requirements.txt
echo beautysh > .github/workflows/es-progress/.github/requirements.txt

- name: Setup Python
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: ./.github/workflows/beautysh.yml
with:
dir: tests/workflows
params: --force-function-style fnpar --indent-size 2
params: --force-function-style fnpar --indent-size 2 --variable-style braces

test-mkdocs:
name: Test workflow (mkdocs)
Expand Down
2 changes: 1 addition & 1 deletion tests/workflows/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ IFS=$'\n\t'

for f in *.m3u
do
grep -qi "hq.*mp3" "$f" \
grep -qi "hq.*mp3" "${f}" \
&& echo -e "'Playlist ${f} contains a HQ file in mp3 format'"
done

Expand Down