blob: b1d0f27e33d861ec172b1db77db0d71a9404bb8f [file] [log] [blame]
name: Flute
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
Main:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
sdk: [beta, dev]
steps:
- name: Job info
run: |
echo "Triggered ${{ github.event_name }}"
echo "Running on ${{ runner.os }}"
echo "Branch: ${{ github.ref }}; repo: ${{ github.repository }}."
- name: Fetch sources
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- name: Install Dart SDK
uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
with:
sdk: ${{ matrix.sdk }}
- name: Pub get
run: |
(cd engine && dart pub get)
(cd framework && dart pub get)
(cd benchmarks && dart pub get)
(cd script && dart pub get)
- name: Analyze
run: |
dart analyze --fatal-infos --fatal-warnings
- run: echo "🍏 This job's status is ${{ job.status }}."