Skip to content

Commit 64e5ff5

Browse files
authored
Create dart.yml
1 parent b85c29c commit 64e5ff5

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/dart.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
name: Dart
7+
8+
on:
9+
push:
10+
branches: [ master ]
11+
pull_request:
12+
branches: [ master ]
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
21+
22+
# Note: This workflow uses the latest stable version of the Dart SDK.
23+
# You can specify other versions if desired, see documentation here:
24+
# https://github.com/dart-lang/setup-dart/blob/main/README.md
25+
# - uses: dart-lang/setup-dart@v1
26+
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603
27+
28+
- name: Install dependencies
29+
run: dart pub get
30+
31+
# Uncomment this step to verify the use of 'dart format' on each commit.
32+
# - name: Verify formatting
33+
# run: dart format --output=none --set-exit-if-changed .
34+
35+
# Consider passing '--fatal-infos' for slightly stricter analysis.
36+
- name: Analyze project source
37+
run: dart analyze
38+
39+
# Your project will need to have tests in test/ and a dependency on
40+
# package:test for this step to succeed. Note that Flutter projects will
41+
# want to change this to 'flutter test'.
42+
- name: Run tests
43+
run: dart test
44+
- name: Flutter Deployment
45+
uses: jeanluc243/Flutter-Deployment@0.1

0 commit comments

Comments
 (0)