-
-
Notifications
You must be signed in to change notification settings - Fork 8
60 lines (46 loc) · 1.25 KB
/
check-urls.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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