Skip to content

Commit

Permalink
update the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nickyrabit committed May 30, 2023
1 parent 854b0e5 commit 8006ebb
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,16 @@ jobs:
- name: Install dependencies
run: flutter pub get

# Uncomment this step to verify the use of 'flutter format' on each commit.
# - name: Verify formatting
# run: flutter format --output=none --set-exit-if-changed .
# Create analysis_options.yaml file with the specified rules
- name: Create analysis_options.yaml
run: |
echo "include: package:flutter_lints/flutter.yaml" > analysis_options.yaml
echo "" >> analysis_options.yaml
echo "linter:" >> analysis_options.yaml
echo " rules:" >> analysis_options.yaml
echo " unused_field: false" >> analysis_options.yaml
echo " undefined_function: false" >> analysis_options.yaml
echo " not_initialized_non_nullable_instance_field: false" >> analysis_options.yaml
- name: Analyze project source
run: flutter analyze
Expand Down

0 comments on commit 8006ebb

Please sign in to comment.