Skip to content

Commit

Permalink
Update lints, bump min SDK to ^3.1.0 (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Dec 1, 2023
1 parent 17d40bb commit 6edf535
Show file tree
Hide file tree
Showing 6 changed files with 100 additions and 146 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,16 @@ jobs:
strategy:
fail-fast: false
matrix:
sdk: [dev, stable]
sdk: [dev, 3.1]

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
with:
sdk: ${{ matrix.sdk }}

- name: pub get
run: dart pub get

- run: dart pub get
- name: dart format
run: dart format --output=none --set-exit-if-changed .

- name: dart analyze
run: dart analyze

- name: dart test
run: dart test
- run: dart analyze --fatal-infos
- run: dart test
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.2.3-wip

- Require Dart `^3.1.0`.

## 0.2.2

- Update to package:lints 2.0.0 and move it to a dev dependency.
Expand Down
8 changes: 1 addition & 7 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
include: package:lints/recommended.yaml

analyzer:
errors:
slash_for_doc_comments: ignore
include: package:dart_flutter_team_lints/analysis_options.yaml

linter:
rules:
- always_declare_return_types
- directives_ordering
- public_member_api_docs
Loading

0 comments on commit 6edf535

Please sign in to comment.