Skip to content

chore(deps): update subosito/flutter-action action to v2.16.0 #555

chore(deps): update subosito/flutter-action action to v2.16.0

chore(deps): update subosito/flutter-action action to v2.16.0 #555

Workflow file for this run

name: Flutter CI
on:
push:
branches: [ master ]
paths-ignore: [ '**.md' ]
pull_request:
branches: [ master ]
paths-ignore: [ '**.md' ]
schedule:
# Runs at 02:00 UTC on the 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29 and 31th of every month.
- cron: "0 2 */2 * *"
jobs:
test-stable-beta:
runs-on: ubuntu-latest
strategy:
matrix:
channel: [ 'stable', 'beta' ]
steps:
- uses: actions/checkout@v4
- uses: subosito/[email protected]
with:
channel: ${{ matrix.channel }}
- name: Doctor
run: flutter doctor
- name: Install dependencies
run: flutter packages get
- name: Format
run: dart format lib test example --set-exit-if-changed
if: ${{ matrix.channel == 'stable' }}
- name: Analyze
run: flutter analyze lib test example
if: ${{ matrix.channel == 'stable' }}
- name: Run tests
run: flutter test --coverage --coverage-path=lcov.info
- uses: codecov/[email protected]
if: ${{ matrix.channel == 'stable' }}
test-old-versions:
runs-on: ubuntu-latest
strategy:
matrix:
version: [ '3.0.0', '3.7.0' ]
steps:
- uses: actions/checkout@v4
- uses: subosito/[email protected]
with:
flutter-version: ${{ matrix.version }}
- name: Doctor
run: flutter doctor
- name: Install dependencies
run: flutter packages get
- name: Run tests
run: flutter test