-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): update verify workflow to use dcm for analysis (#242)
* chore(ci): update verify workflow to use dcm for analysis * fix: update hero tag in example's fab * fix: update print statements for clarity in currencies example * fix(ci): adjust permissions for build directory in verify workflow * fix(ci): update permissions setup for build directory in verify workflow * fix(ci): increase minimum pub points requirement in verify workflow * fix(ci): enhance dcm analysis with additional flags
- Loading branch information
Showing
3 changed files
with
14 additions
and
8 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 |
---|---|---|
|
@@ -70,14 +70,20 @@ jobs: | |
uses: fujidaiti/[email protected] | ||
with: | ||
report: ${{ steps.analysis.outputs.json_output }} | ||
min-pub-points: 130 | ||
min-pub-points: 150 | ||
|
||
- name: 🛂 Set up file system write permissions | ||
run: sudo chown -R runner:runner $(pwd) && sudo chmod -R 777 $(pwd) | ||
- name: 📥 Install DCM | ||
if: ${{ github.event_name == 'pull_request' }} | ||
uses: CQLabs/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: 🔎 Dart Code Metrics | ||
if: ${{ github.event_name == 'pull_request' }} | ||
run: dart run dart_code_linter:metrics --fatal-style --fatal-performance --fatal-warnings -r github lib | ||
run: dcm analyze . --congratulate --fatal-style --fatal-warnings --reporter=github | ||
|
||
- name: 🛂 Set up file system write permissions | ||
run: sudo chown -R runner:runner $(pwd) && sudo chmod -R 777 $(pwd) | ||
|
||
- name: 🧪 Run Dart tests | ||
if: ${{ !inputs.is_flutter }} | ||
|
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