Skip to content

Commit d740510

Browse files
committed
fix(ci): test against a matrix of dart versions
Signed-off-by: Sphericalkat <[email protected]>
1 parent 341bfb9 commit d740510

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

.github/workflows/release-ghr.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,9 @@ jobs:
2020
with:
2121
github-token: ${{ secrets.GITHUB_TOKEN }}
2222
changelog-file: CHANGELOG.md
23-
update-file: pubspec.yaml
23+
update-file: pubspec.yaml
24+
25+
- name: Commit and push to main
26+
uses: stefanzweifel/git-auto-commit-action@v4
27+
with:
28+
commit_message: '[skip ci] Release'

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,15 @@ jobs:
1212
tests:
1313
name: Unit tests
1414
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
sdk: [2.18.0, stable]
1518

1619
steps:
1720
- uses: actions/checkout@v1
1821
- uses: dart-lang/setup-dart@v1
22+
with:
23+
sdk: ${{ matrix.sdk }}
1924

2025
- name: Install dependencies
2126
run: dart pub get
@@ -27,4 +32,4 @@ jobs:
2732
run: dart analyze
2833

2934
- name: Run tests
30-
run: dart test
35+
run: dart test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ I personally needed to use this for my own search algorithms, and there weren't
1919

2020
```yaml
2121
dependencies:
22-
fuzzywuzzy: 0.1.6 # latest version
22+
fuzzywuzzy: 1.1.2 # latest version
2323
```
2424
2525
## Usage

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: "fuzzywuzzy"
2-
version: "1.1.0"
2+
version: "1.1.1"
33
homepage: "https://github.com/sphericalkat/dart-fuzzywuzzy"
44
description: An implementation of the popular fuzzywuzzy package in Dart, to suit all your fuzzy string matching/searching needs!
55
repository: "https://github.com/sphericalkat/dart-fuzzywuzzy"

0 commit comments

Comments
 (0)