name: Verify web demos # Declare default permissions as read only. permissions: read-all on: push: branches: [ main ] pull_request: branches: [ main ] jobs: verify-web-demos: runs-on: ubuntu-latest if: github.repository == 'flutter/samples' strategy: matrix: flutter_version: - stable # TODO(johnpryan): https://github.com/flutter/samples/issues/1469 # - beta steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: submodules: true fetch-depth: 0 - uses: subosito/flutter-action@cc97e1648fff6ca5cc647fa67f47e70f7895510b with: channel: ${{ matrix.flutter_version }} - name: Init scripts run: dart pub get working-directory: web/_tool - name: Verify packages run: dart run _tool/verify_packages.dart working-directory: web