mirror of
https://github.com/gabrie30/ghorg.git
synced 2026-01-21 16:21:43 +01: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
|