-
-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mikael Wills
committed
Dec 18, 2024
1 parent
523904e
commit adf4aa1
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Push To Master | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
name: Build Checks | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: "stable" | ||
- name: Install project dependencies | ||
run: flutter pub get | ||
- name: Dart Format Check | ||
run: dart format lib/ test/ --set-exit-if-changed | ||
- name: Import Sorter Check | ||
run: flutter pub run import_sorter:main --no-comments --exit-if-changed | ||
- name: Dart Analyze Check | ||
run: flutter analyze | ||
- name: Dart Test Check | ||
run: flutter test |