Skip to content

package:dartpad_shared #176

package:dartpad_shared

package:dartpad_shared #176

name: package:dartpad_shared
permissions: read-all
on:
push:
branches: [ main ]
paths:
- '.github/workflows/dartpad_shared.yml'
- 'pkgs/dartpad_shared/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/dartpad_shared.yml'
- 'pkgs/dartpad_shared/**'
schedule:
- cron: '0 0 * * 0' # weekly
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: pkgs/dartpad_shared/
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
- name: Install dart dependencies
run: dart pub get
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
- name: Regenerate model classes
run: dart run build_runner build --delete-conflicting-outputs
- name: Analyze project source
run: dart analyze --fatal-infos