Skip to content

Bump subosito/flutter-action from 2.15.0 to 2.16.0 (#64) #265

Bump subosito/flutter-action from 2.15.0 to 2.16.0 (#64)

Bump subosito/flutter-action from 2.15.0 to 2.16.0 (#64) #265

Workflow file for this run

name: CI
on:
# Run on PRs and pushes to the default branch.
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: "0 0 * * 0"
env:
PUB_ENVIRONMENT: bot.github
jobs:
# Check code formatting and static analysis on a single OS (linux)
# against Dart dev.
analyze:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [dev]
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
with:
sdk: ${{ matrix.sdk }}
- id: install
name: Install dependencies
run: dart pub get
- name: Check formatting
run: dart format --output=none --set-exit-if-changed .
if: always() && steps.install.outcome == 'success'
- name: Analyze code
run: dart analyze --fatal-infos
if: always() && steps.install.outcome == 'success'
test_dart:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
sdk: [3.0.0, dev]
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
with:
sdk: ${{ matrix.sdk }}
- id: install
run: dart pub get
- name: make git happy
run: |
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
- run: dart test -x presubmit-only
if: always() && steps.install.outcome == 'success'
- run: dart test --run-skipped -t presubmit-only
if: always() && steps.install.outcome == 'success'
test_flutter:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
flutter-channel: [beta, stable]
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
with:
channel: ${{ matrix.flutter-channel }}
- id: install
run: dart pub get
- name: make git happy
run: |
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
- run: flutter test -x presubmit-only
if: always() && steps.install.outcome == 'success'
- run: flutter test --run-skipped -t presubmit-only
if: always() && steps.install.outcome == 'success'