Skip to content

Commit

Permalink
updated gha
Browse files Browse the repository at this point in the history
  • Loading branch information
git-elliot committed Nov 17, 2024
1 parent b0fbb76 commit 6773fef
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ jobs:
run: dart pub get

# Uncomment this step to verify the use of 'dart format' on each commit.
# - name: Verify formatting
# run: dart format --output=none --set-exit-if-changed .
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .

- name: Run build_runner
run: dart run build_runner build

# Consider passing '--fatal-infos' for slightly stricter analysis.
- name: Analyze project source
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
- name: Install dependencies
run: dart pub get

- name: Run build_runner
run: dart run build_runner build

- name: Analyze project source
run: dart analyze --fatal-infos

Expand Down
2 changes: 2 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ dependencies:


dev_dependencies:
# provides a concrete way of generating files using Dart code
build_runner: ^2.4.13
# Provides Dart Build System builders for handling JSON.
json_serializable: ^6.8.0
# Set of lint rules for Dart.
Expand Down

0 comments on commit 6773fef

Please sign in to comment.