We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cb17f1 commit d4cb13eCopy full SHA for d4cb13e
1 file changed
.github/workflows/ci.yml
@@ -13,10 +13,21 @@ jobs:
13
steps:
14
- uses: actions/checkout@v4
15
16
+ - name: Install dependencies (curl, wget, bash)
17
+ run: |
18
+ if command -v apt-get >/dev/null; then
19
+ apt-get update && apt-get install -y bash curl wget
20
+ elif command -v dnf >/dev/null; then
21
+ dnf install -y bash curl wget
22
+ fi
23
+
24
- name: Install tools
25
run: |
- sudo apt-get update
- sudo apt-get install -y shellcheck shfmt
26
27
+ sudo apt-get update && sudo apt-get install -y shellcheck shfmt
28
29
+ dnf install -y bash shellcheck shfmt
30
31
32
- name: ShellCheck
33
run: shellcheck -x install.sh uninstall.sh lib/*.sh tools/*.sh
0 commit comments