Skip to content

Commit

Permalink
fix: Update lint rules using Diffscrape
Browse files Browse the repository at this point in the history
  • Loading branch information
riscait committed Dec 30, 2023
1 parent 17c1504 commit 1ed79b3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/update-all-lint-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- name: run
- name: Run Diffscrape
working-directory: ./packages/diffscrape
run: dart run diffscrape
run: |
dart run diffscrape \
--uri "https://dart.dev/tools/linter-rules/all" \
--file "../altive_lints/lib/all_lint_rules.yaml" \
--query-selector "pre code.yaml" \
--verbose
- name: output diff
id: output
run: echo "diff_count=$(git diff --name-only --relative=packages/altive_lints/lib | wc -l)" >> "$GITHUB_ENV"
Expand Down

0 comments on commit 1ed79b3

Please sign in to comment.