Update pub and sample dependencies (#3377) #802
This file contains hidden or 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: package:dartpad_ui | |
permissions: read-all | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/dartpad_ui.yml' | |
- 'pkgs/dartpad_ui/**' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/dartpad_ui.yml' | |
- 'pkgs/dartpad_ui/**' | |
schedule: | |
- cron: '0 0 * * 0' # weekly | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: pkgs/dartpad_ui/ | |
strategy: | |
fail-fast: false | |
matrix: | |
sdk: [ beta, main ] | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 | |
with: | |
channel: ${{ matrix.sdk }} | |
- run: flutter --version | |
- run: flutter pub get | |
- run: flutter analyze | |
- run: dart format --set-exit-if-changed . | |
- name: Create template projects and populate the custom pub cache | |
run: dart run grinder build-project-templates | |
working-directory: pkgs/dart_services/ | |
- run: flutter build web | |
- run: flutter test test | |
- run: sh ./tool/check_cycles.sh |