Skip to content

Commit

Permalink
Update lint job
Browse files Browse the repository at this point in the history
  • Loading branch information
arnovanliere committed Mar 14, 2024
1 parent 3c09be5 commit 0b963d7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@ jobs:
- name: Activate dart_code_metrics
run: flutter pub global activate dart_code_metrics

- name: Create environment file
run: echo "PATH=$HOME/.pub-cache/bin:$PATH" >> $GITHUB_ENV

- name: Run code metrics
run: dart_code_metrics lib -r codeclimate > gh-code-quality-report.json
env:
PATH: ${{ runner.tool_cache }}/dart/2.18.2/bin:${{ env.PATH }}
run: flutter pub global run dart_code_metrics:metrics lib -r codeclimate > gh-code-quality-report.json

- name: Upload code quality report
uses: actions/upload-artifact@v2
with:
name: code-quality-report
path: gh-code-quality-report.json

- name: Upload code quality report
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 0b963d7

Please sign in to comment.