File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Check Pythnet
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches : [pyth-v1.14.17]
7
+ jobs :
8
+ test :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - uses : actions-rs/toolchain@v1
13
+ with :
14
+ profile : minimal
15
+ toolchain : 1.60.0
16
+ components : clippy
17
+ override : true
18
+ - name : Install dependencies
19
+ run : |
20
+ sudo apt-get update
21
+ sudo apt-get install -y libssl-dev libudev-dev pkg-config zlib1g-dev llvm clang cmake make libprotobuf-dev
22
+ - name : Run tests
23
+ run : cargo test -p solana-runtime pyth
24
+ clippy :
25
+ runs-on : ubuntu-latest
26
+ steps :
27
+ - uses : actions/checkout@v2
28
+ - uses : actions-rs/toolchain@v1
29
+ with :
30
+ profile : minimal
31
+ toolchain : 1.60.0
32
+ components : clippy
33
+ override : true
34
+ - name : Install dependencies
35
+ run : |
36
+ sudo apt-get update
37
+ sudo apt-get install -y libssl-dev libudev-dev pkg-config zlib1g-dev llvm clang cmake make libprotobuf-dev
38
+ - name : Check clippy
39
+ run : cargo clippy --bins --tests --examples -- --deny warnings
40
+ format :
41
+ runs-on : ubuntu-latest
42
+ steps :
43
+ - uses : actions/checkout@v2
44
+ - uses : actions-rs/toolchain@v1
45
+ with :
46
+ profile : minimal
47
+ toolchain : nightly-2022-04-01
48
+ components : rustfmt
49
+ override : true
50
+ - name : Check formatting
51
+ run : cargo fmt -- --check
You can’t perform that action at this time.
0 commit comments