From d740510a3180d327535e450d9966d8739eb6eb2d Mon Sep 17 00:00:00 2001 From: Sphericalkat Date: Fri, 23 Jun 2023 01:39:46 +0530 Subject: [PATCH] fix(ci): test against a matrix of dart versions Signed-off-by: Sphericalkat --- .github/workflows/release-ghr.yml | 7 ++++++- .github/workflows/test.yml | 7 ++++++- README.md | 2 +- pubspec.yaml | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-ghr.yml b/.github/workflows/release-ghr.yml index 071d680..6536121 100644 --- a/.github/workflows/release-ghr.yml +++ b/.github/workflows/release-ghr.yml @@ -20,4 +20,9 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} changelog-file: CHANGELOG.md - update-file: pubspec.yaml \ No newline at end of file + update-file: pubspec.yaml + + - name: Commit and push to main + uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: '[skip ci] Release' \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c54def8..0fa25b3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -27,4 +32,4 @@ jobs: run: dart analyze - name: Run tests - run: dart test \ No newline at end of file + run: dart test diff --git a/README.md b/README.md index 8fdd5ba..31ff430 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/pubspec.yaml b/pubspec.yaml index fc2208a..a55764e 100644 --- a/pubspec.yaml +++ b/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"