Adds workflow for code linting

This commit is contained in:
Oliver committed 2021-09-28 12:19:19 +10:00
1 parent c1a1ef0ad2
commit 037564c6a3
5 files changed
+44 -15

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
# Run flutter linting checks
name: linting
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '2.2.3'
- run: flutter pub get
- run: flutter analyze