Skip to content

Commit

Permalink
test: ci downgrade analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Sep 14, 2023
1 parent 8b5b287 commit cdd45e1
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 5 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/run_ci_flutter_downgrade_analyze.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Run CI
on:
push:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # every sunday at midnight

jobs:
test:
name: Test on ${{ matrix.os }} / ${{ matrix.flutter }}
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: .
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
flutter: [stable]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '12.x'
- uses: subosito/flutter-action@v2
with:
channel: ${{ matrix.flutter }}
- run: dart --version
- run: flutter --version
- run: dart pub global activate dev_test
- run: dart pub global run dev_test:run_ci --pub-downgrade --analyze --no-override --recursive
2 changes: 1 addition & 1 deletion sqflite/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies:
matcher:
meta:
dev_dependencies:
flutter_lints:
flutter_lints: '>=2.0.0'
flutter_test:
sdk: flutter
integration_test:
Expand Down
4 changes: 2 additions & 2 deletions sqflite_common_ffi/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ dependencies:
meta: '>=1.3.0 <3.0.0'

dev_dependencies:
lints:
lints: '>=2.1.1'
test: '>=1.16.2'
process_run: '>=0.12.0'
pub_semver: '>=2.0.0'
archive:
archive: '>=3.3.9'
http:
2 changes: 1 addition & 1 deletion sqflite_support/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
dev_dependencies:
lints: '>=1.0.0'
process_run: '>=0.11.0+2'
dev_test: '>=0.13.4-dev.2'
dev_test: '>=0.16.2'
test:
path:
pub_semver:
Expand Down
2 changes: 1 addition & 1 deletion sqflite_test_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies:
sqflite_common_ffi_web:

dev_dependencies:
flutter_lints:
flutter_lints: '>=2.0.3'
flutter_test:
sdk: flutter
flutter_driver:
Expand Down

0 comments on commit cdd45e1

Please sign in to comment.