Skip to content

Add demo file and checks #5

Add demo file and checks

Add demo file and checks #5

name: Check asset file names
on: pull_request
jobs:
Filenamecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- shell: bash
run: |
find assets | grep "\.[A-Z]" && echo "Upper case characters found in file endings" && exit 1
find assets -type f -printf '%f\n' | grep "[_+ ]" && echo "Underscore, plus or space found in file names" && exit 1
find assets -type f -printf '%f\n' | grep -v "[-]" && echo "No dash found in file names" && exit 1