Update/run ci script
diff --git a/.github/workflows/ci_workflow.yml b/.github/workflows/ci_workflow.yml
index 56fb24fe0..06ffc6e9e 100644
--- a/.github/workflows/ci_workflow.yml
+++ b/.github/workflows/ci_workflow.yml
@@ -14,5 +14,5 @@ jobs:
       - name: Give executable permissions to run_ci.sh inside the scripts directory
         run: chmod a+x scripts/run_ci.sh
       - name: Run the ci script inside the scripts folder
-        run: sh scripts/run_ci.sh
+        run: bash scripts/run_ci.sh
         shell: bash
\ No newline at end of file
diff --git a/scripts/run_ci.sh b/scripts/run_ci.sh
index 69fddfd0f..88c60ffde 100755
--- a/scripts/run_ci.sh
+++ b/scripts/run_ci.sh
@@ -1,15 +1,15 @@
-#!/bin/bash
-# These are the same steps we are running in Travis CI
-
-
-find . -name "*.md" -not -path "./tests/*" | \
-   xargs -I {} \
-   python $(dirname "$0")/../tests/syntax_lint.py {} > /dev/null
-mdPassed=$?
-flake8 --max-line-length=100 . && echo "PEP8 Passed"
-pyPassed=$?
-if [ $pyPassed -eq 0 ] && [ $mdPassed -eq 0 ];then
-   exit 0
-else
-   exit 1
-fi
+#!/usr/bin/env bash
+
+set -euo pipefail
+
+PROJECT_DIR="$(dirname $(readlink -f ${BASH_SOURCE[0]}))/.."
+
+MD_FILES=$(find ${PROJECT_DIR} -name "*.md" -not -path "${PROJECT_DIR}/tests/*")
+
+for file in ${MD_FILES[@]}; do
+   python ${PROJECT_DIR}/tests/syntax_lint.py ${file} > /dev/null
+done
+
+echo "- Syntax lint tests on MD files passed sucessfully"
+
+flake8 --max-line-length=100 . && echo "- PEP8 Passed"
\ No newline at end of file

I'd like to propose an improvement to the `run_ci` script.

- Change shebang for portability.
- Add shell options in the script. If there's an error it will automatically exit. e.g:
```bash
[2023-02-23 23:03:58] {afuscoar@afuscoar} (~/.Personal/Projects/devops-exercises) (update/run_ci-script)$ -> bash scripts/run_ci.sh 
/home/afuscoar/.Personal/Projects/devops-exercises/scripts/../README.md failed
Missing opening detail tag round line 4
[2023-02-23 23:03:59] {afuscoar@afuscoar} (~/.Personal/Projects/devops-exercises) (update/run_ci-script)$ -> echo $?
1
```
- Change the test execution for better readability.