Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a52f3a5

Browse files
Create dart.yml
1 parent d34218d commit a52f3a5

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

‎.github/workflows/dart.yml

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /