From 55dc1bf37e042dd04229a025c07a8b02a0d0a763 Mon Sep 17 00:00:00 2001 From: Dominik Spicher Date: Thu, 14 May 2020 09:46:26 +0200 Subject: [PATCH] Add Github Actions .yml --- .github/workflows/dart.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/dart.yml diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml new file mode 100644 index 0000000..443268c --- /dev/null +++ b/.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 \ No newline at end of file