File tree 2 files changed +41
-3
lines changed
rust-backend/.github/workflows
2 files changed +41
-3
lines changed Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
check-backend :
12
- uses : qvest-digital/rust-and-flutter-demo/rust-backend/.github/workflows/check.yaml@main
12
+ name : Check Backend
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout
16
+ uses : actions/checkout@v2
17
+ - name : Setup Rust
18
+ uses : actions-rs/toolchain@v1
19
+ with :
20
+ toolchain : stable
21
+ - name : Run Cargo Check
22
+ working-directory : rust-backend
23
+ run : cargo check
24
+ - name : Run Unit Tests
25
+ working-directory : rust-backend
26
+ run : cargo test
13
27
check-frontend :
14
- uses : qvest-digital/rust-and-flutter-demo/flutter_frontend/.github/workflows/check.yaml@main
28
+ name : Check Frontend
29
+ runs-on : ubuntu-latest
30
+ steps :
31
+ - name : Checkout
32
+ uses : actions/checkout@v2
33
+ - name : Setup Flutter
34
+ uses : subosito/flutter-action@v2
35
+ with :
36
+ channel : stable
37
+ flutter-version-file : flutter_frontend/pubspec.yaml
38
+ - name : Run Flutter Version
39
+ run : flutter --version
40
+ - name : Get Dependencies
41
+ working-directory : flutter_frontend
42
+ run : flutter pub get
43
+ - name : Analyze Code
44
+ working-directory : flutter_frontend
45
+ run : flutter analyze
46
+ - name : Run Tests
47
+ working-directory : flutter_frontend
48
+ run : flutter test
Original file line number Diff line number Diff line change 1
1
name : Check Backend
2
2
3
3
on :
4
- workflow_call :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ types : [opened, synchronize, reopened]
5
9
6
10
jobs :
7
11
check :
You can’t perform that action at this time.
0 commit comments