Skip to content

Commit

Permalink
CI: use shell-funcheck
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Di Maio <[email protected]>
  • Loading branch information
89luca89 committed May 1, 2024
1 parent 8753d5e commit be34a03
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,17 @@ jobs:
- uses: codespell-project/actions-codespell@v2
with:
skip: .git,*.pdf,*.1,*.css,*.lock

shell-funcheck:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Run shell-funcheck
run: |
curl -L -O https://github.com/89luca89/shell-funcheck/releases/download/v0.0.1/shell-funcheck-amd64
chmod +x ./shell-funcheck-amd64
for i in distrobox*; do
./shell-funcheck-amd64 check "$i"
done
2 changes: 1 addition & 1 deletion distrobox-assemble
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ sanitize_variable() {

# parse_file will read and parse input file and call distrobox-create accordingly
# Arguments:
# file: stirng path of the manifest file to parse
# file: string path of the manifest file to parse
# Expected global variables:
# tmpfile: string name of the tmpfile to read
# Expected env variables:
Expand Down

0 comments on commit be34a03

Please sign in to comment.