Run CI #70
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: Run CI | |
| on: | |
| push: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 0 * * 0' # every sunday at midnight | |
| jobs: | |
| test: | |
| name: Test on ${{ matrix.os }} / ${{ matrix.flutter }} | |
| runs-on: ${{ matrix.os }} | |
| defaults: | |
| run: | |
| working-directory: . | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| flutter: stable | |
| - os: ubuntu-latest | |
| flutter: beta | |
| - os: windows-latest | |
| flutter: stable | |
| - os: macos-latest | |
| flutter: stable | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v1 | |
| with: | |
| java-version: '11.x' | |
| - uses: subosito/flutter-action@v1 | |
| with: | |
| channel: ${{ matrix.flutter }} | |
| - run: dart --version | |
| - run: flutter --version | |
| # Install dev_test binaries | |
| - run: dart pub global activate dev_build | |
| # Run common validation test (analyzer, format, test) on your package (and nested packages) | |
| - run: dart pub global run dev_build:run_ci |