File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Rust
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+
9
+ env :
10
+ CARGO_TERM_COLOR : always
11
+
12
+ jobs :
13
+ build :
14
+
15
+ runs-on : ubuntu-latest
16
+
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+ - name : Install rustup
20
+ run : curl https://sh.rustup.rs -sSf | sh -s -- -y
21
+ - name : Set default toolchain
22
+ run : $HOME/.cargo/bin/rustup default stable
23
+ - name : Set profile
24
+ run : $HOME/.cargo/bin/rustup set profile minimal
25
+ - name : Fmt
26
+ run : cargo fmt -- --check --verbose
27
+ - name : Build
28
+ run : cargo build --verbose --all-features
29
+ - name : Test
30
+ run : cargo test --verbose --all-features
31
+ - run : cargo check --verbose --no-default-features --features=blocking
32
+ - run : cargo check --verbose --no-default-features --features=async
33
+ - run : cargo check --verbose --no-default-features --features=async-https
You can’t perform that action at this time.
0 commit comments