mirror of
https://github.com/outbackdingo/ghorg.git
synced 2026-01-27 18:18:58 +00:00
21 lines
454 B
YAML
21 lines
454 B
YAML
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
|