This repository was archived by the owner on Sep 9, 2025. It is now read-only.
Build #1751
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: Build | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| # runs the CI everyday at 10AM | |
| - cron: "0 10 * * *" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| channel: | |
| - stable | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| channel: ${{ matrix.channel }} | |
| - name: Add pub cache bin to PATH | |
| run: echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH | |
| - name: Add pub cache to PATH | |
| run: echo "PUB_CACHE="$HOME/.pub-cache"" >> $GITHUB_ENV | |
| - name: Install dependencies | |
| run: flutter pub get | |
| - name: Check format | |
| run: dart format --set-exit-if-changed . | |
| - name: Analyze | |
| run: flutter analyze | |
| - name: Run tests | |
| run: dart test -r github | |
| working-directory: packages/functional_widget |