Fix functions with non-void return type that have missing return statement #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Repo | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
whitespace: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Check for trailing whitespace | |
run: | | |
if git grep -I -n '[[:blank:]]$'; then | |
echo "Trailing whitespace found. Please fix it." | |
exit 1 | |
fi |