chore(deps): bump validator from 0.16.1 to 0.17.0 #26
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: Check presence of README.md files in the Cargo workspace. | |
on: [pull_request] | |
jobs: | |
run-shell-script: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Check presence of README.md files | |
run: | | |
# Navigate to the crates directory | |
cd crates || exit | |
# Loop through each direct subdirectory in the crates/* directory | |
for dir in */; do | |
# Check if README.md exists in the subdirectory | |
if [ ! -f "$dir/README.md" ]; then | |
echo "README.md missing in $dir" | |
cd - > /dev/null # Return to the original directory | |
exit 1 | |
fi | |
done | |
cd - > /dev/null # Return to the original directory | |
echo "All crates have a README.md file." |