Remove pedantic from README (#124) #202
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: validate | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the main branch | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Run weekly | |
schedule: | |
- cron: "0 0 * * 0" | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | |
- name: Check for sources | |
run: | | |
filecount=`find lib -name '*.dart' | wc -l` | |
if [ $filecount -ne 0 ] || [ -d "bin" ] | |
then | |
echo 'Dart sources are not allowed in this package!' | |
exit 1 | |
fi |