-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d98f685
commit 1f45eb8
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Run CI | ||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * 0' # every sunday at midnight | ||
|
||
jobs: | ||
test: | ||
name: Test on ${{ matrix.os }} / ${{ matrix.dart }} | ||
runs-on: ${{ matrix.os }} | ||
defaults: | ||
run: | ||
working-directory: . | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
dart: [stable] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dart-lang/[email protected] | ||
with: | ||
sdk: ${{ matrix.dart }} | ||
- run: dart --version | ||
- run: dart pub global activate dev_test | ||
- run: dart pub global run dev_test:run_ci --pub-downgrade --analyze --no-override --recursive |