Skip to content

Commit

Permalink
ci: Install shfmt with apt
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Feb 5, 2024
1 parent db3f1e2 commit 5eb5895
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/shell/samples/shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install shellcheck
run: |
- run: |
sudo apt update
sudo apt install shellcheck
- run: sudo snap install shfmt
sudo apt install shellcheck shfmt
- run: shellcheck $(shfmt -f .)
- run: shfmt -d -i 4 -sr $(shfmt -f .)

0 comments on commit 5eb5895

Please sign in to comment.