[pull] master from gabrie30:master #22
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 Examples Copy Folder Content | |
on: | |
pull_request: | |
jobs: | |
check-folders: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Compare folders | |
run: | | |
shopt -s dotglob | |
if ! diff -r examples/ cmd/examples-copy; then | |
echo "Examples folder is not up to date. Please run 'make examples' and commit the changes." | |
exit 1 | |
fi |