Skip to content

Commit

Permalink
Added dcm action
Browse files Browse the repository at this point in the history
  • Loading branch information
leoafarias committed Jan 4, 2024
1 parent 3062fe0 commit a30da5a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ runs:
run: dart pub get
shell: bash

- run: dart format --output=none --set-exit-if-changed .
shell: bash
- name: Install DCM
uses: CQLabs/setup-dcm@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Analyze
run: dart analyze --fatal-infos --fatal-warnings .
shell: bash
- name: Run DCM
uses: CQLabs/dcm-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
folders: lib

0 comments on commit a30da5a

Please sign in to comment.