blob: 30e77f26870d841a659d53a23d90518566946293 [file] [log] [blame]
name: Flute
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
Main:
runs-on: ubuntu-latest
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@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Install Dart SDK
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
with:
sdk: 2.15.0-268.18.beta
- name: Pub get
run: |
(cd engine && dart pub get)
(cd framework && dart pub get)
- name: Analyze
run: |
dart analyze --fatal-infos --fatal-warnings
- run: echo "🍏 This job's status is ${{ job.status }}."