Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
package update
Browse files Browse the repository at this point in the history
  • Loading branch information
vasilich6107 committed Oct 15, 2022
1 parent 3e5fc84 commit 134f6b7
Show file tree
Hide file tree
Showing 57 changed files with 1,691 additions and 1,264 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.14.0
sdk: 2.18.0
- id: install
name: Install dependencies
run: dart pub get
Expand All @@ -26,25 +26,21 @@ jobs:
run: dart format --set-exit-if-changed .
- name: Run analyzer and annotate
if: always() && steps.install.outcome == 'success'
uses: kitek/dartanalyzer-annotations-action@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
check_name: Check code style
commit_sha: ${{ github.event.pull_request.head.sha }}
# https://github.com/kitek/dartanalyzer-annotations-action was too outdated and seems does not have any support
run: dart analyze --fatal-infos
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.14.0
sdk: 2.18.0
- id: install
name: Install dependencies
run: dart pub get
- name: Test
if: always() && steps.install.outcome == 'success'
run: pub run test --file-reporter='json:test-report.json'
run: dart run test --file-reporter='json:test-report.json'
continue-on-error: true
- name: Annotate with test errors
uses: rodrigost23/[email protected]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.14.0
sdk: 2.18.0
- id: install
name: Install dependencies
run: dart pub get
Expand All @@ -26,13 +26,13 @@ jobs:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.14.0
sdk: 2.18.0
- id: install
name: Install dependencies
run: dart pub get
- name: Test
if: always() && steps.install.outcome == 'success'
run: pub run test
run: dart run test
create-tag-and-release:
needs:
- lint
Expand Down
Loading

0 comments on commit 134f6b7

Please sign in to comment.