We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 540e083 + 00eaf04 commit 0e18205Copy full SHA for 0e18205
2 files changed
.github/workflows/lint.yml
@@ -0,0 +1,20 @@
1
+name: Shell Script Lint
2
+
3
+on: [push]
4
5
+jobs:
6
+ lint:
7
+ name: Lint Shell scripts with ShellCheck
8
+ runs-on: ubuntu-latest
9
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v4
13
14
+ - name: Install ShellCheck
15
+ run: sudo apt install -y shellcheck
16
17
+ - name: Run ShellCheck
18
+ run: |
19
+ find . -type f -name '*.sh' -not -path './.github/*' -print0 \
20
+ | xargs -0 shellcheck
install.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
set -euo pipefail
INSTALL_DIR="$HOME/dotfiles"
0 commit comments