Skip to content

Commit

Permalink
Tab spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanrscott committed Oct 10, 2023
1 parent 41e5c3e commit ae559e3
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/learn-github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ jobs:


coding_standards:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Check if file begins with "//"
run: |
# Set the file path you want to check
FILE_PATH="my-app.php"
# Check if the file begins with "//"
if [[ "$(head -n 1 "$FILE_PATH")" == "//"* ]]; then
echo "File begins with '//'."
else
echo "File does not begin with '//'."
exit 1
fi
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check if file begins with "//"
run: |
# Set the file path you want to check
FILE_PATH="my-app.php"
# Check if the file begins with "//"
if [[ "$(head -n 1 "$FILE_PATH")" == "//"* ]]; then
echo "File begins with '//'."
else
echo "File does not begin with '//'."
exit 1
fi

0 comments on commit ae559e3

Please sign in to comment.