Skip to content

contextual-json-validator #112

contextual-json-validator

contextual-json-validator #112

name: contextual-json-validator
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # weekly
permissions:
contents: read
jobs:
contextual-json-validate:
runs-on: ubuntu-latest
defaults:
run:
working-directory: surveys/survey-validator
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
- run: dart pub get
- run: dart run
analyze:
runs-on: ubuntu-latest
defaults:
run:
working-directory: surveys/survey-validator
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
- run: dart pub get
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
- name: Analyze Dart files
run: dart analyze --fatal-infos