Skip to content

Commit 0d251c7

Browse files
ci: Add shellcheck workflow and update super-linter configuration
1 parent 7979b49 commit 0d251c7

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed

.github/workflows/shellcheck.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
name: shellcheck
3+
4+
run-name: Shellcheck
5+
6+
on:
7+
pull_request:
8+
branches:
9+
- "main"
10+
paths:
11+
- "**/*.sh"
12+
13+
concurrency:
14+
group: ${{ github.ref }}-${{ github.workflow }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
skip_duplicate_actions:
19+
name: Skip Duplicate Actions
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: fkirc/skip-duplicate-actions@master
23+
with:
24+
github_token: ${{ secrets.GITHUB_TOKEN }}
25+
cancel_others: true
26+
concurrent_skipping: never
27+
28+
shellcheck:
29+
name: Shellcheck
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout code
33+
uses: actions/checkout@v4
34+
with:
35+
fetch-depth: 0
36+
37+
- name: Call Dagger Function
38+
uses: dagger/dagger-for-github@v6
39+
with:
40+
args: check --source=. stdout
41+
module: github.com/softwaredevelop/daggerverse/shellcheck@main
42+
verb: call
43+
version: "latest"

.github/workflows/super-linter.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
ACTIONS_RUNNER_DEBUG: true
4646
DEFAULT_BRANCH: main
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48-
VALIDATE_BASH: true
4948
VALIDATE_EDITORCONFIG: true
5049
VALIDATE_GITHUB_ACTIONS: true
5150
VALIDATE_YAML: true

0 commit comments

Comments
 (0)