Skip to content

Commit

Permalink
Created Workflow (shell-check.yml) (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
tungbq committed Aug 28, 2023
2 parents 174f1f7 + 82e9537 commit a76107e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/shell-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: ShellCheck

on:
pull_request:
branches: ["main"]

jobs:
shellcheck:
name: ShellCheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master

3 changes: 2 additions & 1 deletion tools/generate-main-readme.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
pwd
# Todo: Auto update content of main README.md file
echo "hehe, to be implemented"
echo "hehe, to be implemented"
1 change: 1 addition & 0 deletions topics/ansible/with-docker/ansible-practice.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
echo ">>> Building ansible runner..."
docker build -t ansible-runner -f AnsibleEnv.dockerfile .
echo ">>> Execute ansible playbook (ping google)..."
Expand Down
1 change: 1 addition & 0 deletions topics/k8s/k8s-helloworld-cleanup.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
console_log() {
echo ">>> [Kubernetes] $1"
}
Expand Down

0 comments on commit a76107e

Please sign in to comment.