update deps and dart constraint; add asNullable #123
Workflow file for this run
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
name: Check URLs | |
on: | |
push: | |
branches: [ master ] | |
paths: [ 'README.md', 'check_urls/**', 'example/**' ] | |
pull_request: | |
branches: [ master ] | |
paths: [ 'README.md', 'check_urls/**', 'example/**' ] | |
workflow_dispatch: | |
jobs: | |
check-urls: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./check_urls | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Dart | |
uses: dart-lang/setup-dart@v1.4 | |
with: | |
sdk: stable | |
- name: Print Dart version | |
run: dart --version | |
- name: Install dependencies | |
run: dart pub get | |
- name: Run check_urls/main.dart | |
run: dart run main.dart | |
run-example: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./example | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Dart | |
uses: dart-lang/setup-dart@v1.4 | |
with: | |
sdk: stable | |
- name: Print Dart version | |
run: dart --version | |
- name: Install dependencies | |
run: dart pub get | |
- name: Run example/lib/rxdart_ext_example.dart | |
run: | | |
dart run lib/rxdart_ext_example.dart | |
dart run lib/http.dart |