File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
on : [pull_request]
3
3
4
- name : Cargo test
4
+ name : Rust
5
5
jobs :
6
6
check :
7
7
name : Test the heed project
28
28
cargo clean
29
29
cargo test
30
30
31
+ examples :
32
+ name : Run the heed examples
33
+ runs-on : ${{ matrix.os }}
34
+ strategy :
35
+ matrix :
36
+ os : [ubuntu-latest, macos-latest]
37
+ include :
38
+ - os : ubuntu-latest
39
+ - os : macos-latest
40
+
41
+ steps :
42
+ - uses : actions/checkout@v2
43
+ with :
44
+ submodules : recursive
45
+ - uses : actions-rs/toolchain@v1
46
+ with :
47
+ profile : minimal
48
+ toolchain : stable
49
+ override : true
50
+ - name : Run the examples
51
+ run : |
52
+ cargo clean
53
+ cargo run --example 2>&1 | grep -E '^ ' | xargs -n1 cargo run --example
54
+
31
55
fmt :
32
56
name : Ensure the heed project is formatted
33
57
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments