Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Dec 3, 2023
1 parent a7b67e5 commit d1fe83d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/run_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,19 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
dart: [3.1.0, stable, beta, dev]
include:
- os: ubuntu-latest
dart: 3.1.0
- os: ubuntu-latest
dart: stable
- os: ubuntu-latest
dart: beta
- os: ubuntu-latest
dart: dev
- os: windows-latest
dart: stable
- os: macos-latest
dart: stable
steps:
- uses: actions/checkout@v4
- uses: dart-lang/[email protected]
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/run_ci_downgrade_analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
dart: [stable]
include:
- os: ubuntu-latest
dart: stable
steps:
- uses: actions/checkout@v4
- 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
- run: dart pub global activate dev_build
- run: dart pub global run dev_build:run_ci --pub-downgrade --analyze --no-override --recursive
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ dev_dependencies:
build_runner: '>=0.9.0'
build_test: '>=0.10.2'
process_run: '>=0.10.2'
dev_test: '>0.13.1+1'
dev_build: '>0.13.1+1'
build_web_compilers: '>=0.4.0'

2 changes: 1 addition & 1 deletion tool/run_ci.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:dev_test/package.dart';
import 'package:dev_build/package.dart';

Future main() async {
await packageRunCi('.');
Expand Down

0 comments on commit d1fe83d

Please sign in to comment.