-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Update pipeline to use Melos (#80)
* ci: Update pipeline to use Melos * Bump to flame_lint 1.1.2 * Update format
- Loading branch information
Showing
4 changed files
with
33 additions
and
26 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 |
---|---|---|
|
@@ -18,33 +18,38 @@ jobs: | |
channel: 'stable' | ||
- uses: flame-engine/flame-dartdoc-action@v2 | ||
|
||
format: | ||
analyze: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: subosito/flutter-action@v1 | ||
- uses: actions/checkout@v3 | ||
- uses: subosito/flutter-action@v2 | ||
- uses: bluefireteam/melos-action@v3 | ||
- name: "Analyze with latest stable" | ||
uses: invertase/[email protected] | ||
with: | ||
channel: 'stable' | ||
- uses: flame-engine/flame-format-action@v1 | ||
fatal-infos: true | ||
|
||
analyze: | ||
format: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: subosito/flutter-action@v1 | ||
- uses: actions/checkout@v3 | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
- uses: flame-engine/flame-analyze-action@v2 | ||
cache: true | ||
- uses: bluefireteam/melos-action@v3 | ||
- name: Run format | ||
run: melos format-check | ||
# END LINTING STAGE | ||
|
||
# BEGIN TESTING STAGE | ||
test: | ||
needs: [dartdoc, format, analyze] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: subosito/flutter-action@v1 | ||
- uses: actions/checkout@v3 | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
- uses: flame-engine/flame-test-action@v1 | ||
cache: true | ||
- uses: bluefireteam/melos-action@v3 | ||
- name: Run tests | ||
run: melos test | ||
# END TESTING STAGE |
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
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
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