mirror of
https://github.com/hackku21/nearby_connections.git
synced 2024-10-27 19:14:01 +00:00
Add github actions (#28)
This commit is contained in:
parent
0797dedc35
commit
3f8bc282b0
27
.github/workflows/flutter.yml
vendored
Normal file
27
.github/workflows/flutter.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
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 .
|
@ -130,6 +130,20 @@ packages:
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.8.0-nullsafety.3"
|
||||
pedantic:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: pedantic
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.9.2"
|
||||
plugin_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: plugin_platform_interface
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.3"
|
||||
sky_engine:
|
||||
dependency: transitive
|
||||
description: flutter
|
||||
|
Loading…
Reference in New Issue
Block a user