File tree Expand file tree Collapse file tree 2 files changed +77
-4
lines changed Expand file tree Collapse file tree 2 files changed +77
-4
lines changed Original file line number Diff line number Diff line change
1
+ # Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md
2
+ #
3
+ # While our "example" application has the platform-specific code,
4
+ # for simplicity we are compiling and testing everything on the Ubuntu environment only.
5
+ # For multi-OS testing see the `cross.yml` workflow.
6
+
7
+ on : [push, pull_request]
8
+
9
+ name : Quickstart
10
+
11
+ jobs :
12
+ check :
13
+ name : Check
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - name : Checkout sources
17
+ uses : actions/checkout@v2
18
+
19
+ - name : Install stable toolchain
20
+ uses : actions-rs/toolchain@v1
21
+ with :
22
+ profile : minimal
23
+ toolchain : stable
24
+ override : true
25
+
26
+ - name : Run cargo check
27
+ uses : actions-rs/cargo@v1
28
+ with :
29
+ command : check
30
+
31
+ test :
32
+ name : Test Suite
33
+ runs-on : ubuntu-latest
34
+ steps :
35
+ - name : Checkout sources
36
+ uses : actions/checkout@v2
37
+
38
+ - name : Install stable toolchain
39
+ uses : actions-rs/toolchain@v1
40
+ with :
41
+ profile : minimal
42
+ toolchain : stable
43
+ override : true
44
+
45
+ - name : Run cargo test
46
+ uses : actions-rs/cargo@v1
47
+ with :
48
+ command : test
49
+
50
+ lints :
51
+ name : Lints
52
+ runs-on : ubuntu-latest
53
+ steps :
54
+ - name : Checkout sources
55
+ uses : actions/checkout@v2
56
+
57
+ - name : Install stable toolchain
58
+ uses : actions-rs/toolchain@v1
59
+ with :
60
+ profile : minimal
61
+ toolchain : stable
62
+ override : true
63
+ components : rustfmt, clippy
64
+
65
+ - name : Run cargo fmt
66
+ uses : actions-rs/cargo@v1
67
+ with :
68
+ command : fmt
69
+ args : --all -- --check
70
+
71
+ - name : Run cargo clippy
72
+ uses : actions-rs/cargo@v1
73
+ with :
74
+ command : clippy
75
+ args : -- -D warnings
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " jsonpath-ri"
3
- version = " 0.1.0 "
4
- authors = [" Glyn Normington <normingtong@vmware .com>" ]
3
+ version = " 0.0.1 "
4
+ authors = [" Glyn Normington <glyn.normington@gmail .com>" ]
5
5
edition = " 2018"
6
6
7
- # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
8
-
9
7
[dependencies ]
You can’t perform that action at this time.
0 commit comments