Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/Shellcheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: ADconnection.sh Test Pipeline

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
test-adconnection:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install shellcheck
run: sudo apt-get update && sudo apt-get install -y shellcheck

- name: Shellcheck lint ADconnection.sh
run: shellcheck ./ADconnection.sh

- name: Bash syntax check ADconnection.sh
run: bash -n ./ADconnection.sh

- name: Run ADconnection.sh --help
run: bash ./ADconnection.sh --help
Loading