ソースを参照

Add Github Actions .yml

flutter-beta
Dominik Spicher 6年前
コミット
55dc1bf37e
1個のファイルの変更25行の追加0行の削除
  1. +25
    -0
      .github/workflows/dart.yml

+ 25
- 0
.github/workflows/dart.yml ファイルの表示

@@ -0,0 +1,25 @@
name: dart

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
- name: Version
run: flutter doctor -v
- name: Install dependencies
run: flutter pub get
- name: Format
run: dartfmt -n --set-exit-if-changed .
- name: Linter
run: dartanalyzer . --fatal-hints

読み込み中…
キャンセル
保存