Skip to content

Test for presubmit stability #4652

Test for presubmit stability

Test for presubmit stability #4652

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@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
fetch-depth: 0
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
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