Skip to content

Commit

Permalink
update sdk dep; upgrade to the latest package:lints
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew committed Nov 9, 2023
1 parent 81bb7e3 commit 8014562
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [3.0, stable, beta]

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

- name: Install dependencies
run: dart pub get
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.9.5-wip

- Update the SDK constraint to 3.0.
- Rev to the latest version of `package:lints`.

## 0.9.4

- Update the SDK constraint to `>=2.17.0 <4.0.0`.
Expand Down
4 changes: 2 additions & 2 deletions lib/grinder_sdk.dart
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ String? _parseVersion(String output) {
}

class _PubGlobalApp extends PubApp {
_PubGlobalApp(String packageName) : super._(packageName);
_PubGlobalApp(super.packageName) : super._();

@override
bool get isGlobal => true;
Expand Down Expand Up @@ -580,7 +580,7 @@ class _PubGlobalApp extends PubApp {
}

class _PubLocalApp extends PubApp {
_PubLocalApp(String packageName) : super._(packageName);
_PubLocalApp(super.packageName) : super._();

@override
bool get isGlobal => false;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/annotations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ class Depends {
///
/// Use this instead of [Task] when defining the default task.
class DefaultTask extends Task {
const DefaultTask([String? description]) : super(description);
const DefaultTask([super.description]);
}
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: grinder
# This version must be updated in tandem with the lib/src/cli.dart version.
version: 0.9.4
version: 0.9.5-wip
description: >-
Grinder is a task runner for Dart, helping to define and automate common
project workflows.
repository: https://github.com/google/grinder.dart

environment:
sdk: '>=2.17.0 <4.0.0'
sdk: ^3.0.0

dependencies:
cli_util: ^0.4.0
Expand All @@ -17,7 +17,7 @@ dependencies:
collection: ^1.15.0

dev_dependencies:
lints: ^2.0.0
lints: ^3.0.0
test: ^1.17.0

executables:
Expand Down

0 comments on commit 8014562

Please sign in to comment.