mirror of
https://github.com/hackku21/nearby_connections.git
synced 2024-10-27 19:14:01 +00:00
28 lines
546 B
YAML
28 lines
546 B
YAML
|
name: Flutter CI
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ master ]
|
||
|
pull_request:
|
||
|
branches: [ master ]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
strategy:
|
||
|
fail-fast: false
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- uses: subosito/flutter-action@v1
|
||
|
with:
|
||
|
channel: 'beta'
|
||
|
|
||
|
# Get flutter dependencies.
|
||
|
- run: flutter packages get
|
||
|
|
||
|
# Check for any formatting issues in the code.
|
||
|
- run: flutter format --set-exit-if-changed .
|
||
|
|
||
|
# Statically analyze the Dart code for any errors.
|
||
|
- run: flutter analyze .
|