Skip to content

Commit

Permalink
Format all the shell scripts with shfmt (helmuthdu#461)
Browse files Browse the repository at this point in the history
* lilo: format code with `shfmt`

* lilo.automode: format code with `shfmt`

* sharedfuncs: format with `shfmt`

* sharedfuncs_elihw: remove unnecessary semi-colon

* fifo: double quote statements to prevent globbing and word splitting

* fifo: fix SC1102

* fifo: format code with `shfmt`

* add @m0lese in the attention list as a formatting contributor

* add shellcheck github workflow
  • Loading branch information
Molese authored Aug 16, 2021
1 parent 2475957 commit 5e02a24
Show file tree
Hide file tree
Showing 6 changed files with 5,180 additions and 5,185 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: shellcheck

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
additional_files: "lilo.automode sharedfuncs_elihw"
Loading

0 comments on commit 5e02a24

Please sign in to comment.