Skip to content

Commit d8cd791

Browse files
Merge pull request #24 from SheffieldMLtracking/lint-shell-scripts
Add Bash script linting
2 parents 9d35615 + 914d385 commit d8cd791

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/main.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# GitHub Actions workflow
2+
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions
3+
name: Lint Bash scripts
4+
5+
# Controls when the workflow will run
6+
on:
7+
pull_request:
8+
branches: [ "main" ]
9+
# Run manually from the Actions tab
10+
workflow_dispatch:
11+
12+
jobs:
13+
lint:
14+
runs-on: ubuntu-24.04
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Lint shell scripts
18+
uses: azohra/[email protected]
19+
with:
20+
path: "scripts"

0 commit comments

Comments
 (0)