Skip to content

Commit

Permalink
fix(ci): test against a matrix of dart versions
Browse files Browse the repository at this point in the history
Signed-off-by: Sphericalkat <amolele@gmail.com>
  • Loading branch information
SphericalKat committed Jun 22, 2023
1 parent 341bfb9 commit d740510
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/release-ghr.yml
Expand Up @@ -20,4 +20,9 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
changelog-file: CHANGELOG.md
update-file: pubspec.yaml
update-file: pubspec.yaml

- name: Commit and push to main
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: '[skip ci] Release'
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -12,10 +12,15 @@ jobs:
tests:
name: Unit tests
runs-on: ubuntu-latest
strategy:
matrix:
sdk: [2.18.0, stable]

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

- name: Install dependencies
run: dart pub get
Expand All @@ -27,4 +32,4 @@ jobs:
run: dart analyze

- name: Run tests
run: dart test
run: dart test
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -19,7 +19,7 @@ I personally needed to use this for my own search algorithms, and there weren't

```yaml
dependencies:
fuzzywuzzy: 0.1.6 # latest version
fuzzywuzzy: 1.1.2 # latest version
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
@@ -1,5 +1,5 @@
name: "fuzzywuzzy"
version: "1.1.0"
version: "1.1.1"
homepage: "https://github.com/sphericalkat/dart-fuzzywuzzy"
description: An implementation of the popular fuzzywuzzy package in Dart, to suit all your fuzzy string matching/searching needs!
repository: "https://github.com/sphericalkat/dart-fuzzywuzzy"
Expand Down

0 comments on commit d740510

Please sign in to comment.