diff --git a/.github/workflows/cI.yml b/.github/workflows/cI.yml index 00ea930..e187051 100644 --- a/.github/workflows/cI.yml +++ b/.github/workflows/cI.yml @@ -1,6 +1,6 @@ name: Bash Scripts CI -# This workflow runs every time code is pushed to main +# This workflow runs every time code is pushed to main branch # and ever time a pull request targets main on: @@ -23,20 +23,23 @@ jobs: # Step 2: Make all test scripts executable # The runner is a fresh machine # it doesn't inherit permission from laptop - run: chmod +x scripts/*.sh + + # Make script executable + - name: Make scripts excutable + run: chmod +x *.sh # Step 3: Run disk-check.sh and check its exit code # If the exit code is 0, the test passes # If the exit code is not 0, the test fails - name: Run disk-check - run: bash disk-check.sh + run: bash disk-check.sh # Step 4: Run key-hunter - name: Run key-hunter - run: bash key-hunter.sh + run: bash key-hunter.sh # Step 5: Run ram-check - name: Run ram-check - run: bash ram-check.sh + run: bash ram-check.sh