File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ # # Perform Clippy checks - currently set to defaults
2
+ # # https://github.com/rust-lang/rust-clippy#usage
3
+ # # https://rust-lang.github.io/rust-clippy/master/index.html
4
+ # #
5
+ name : Clippy Checks
6
+
7
+ # Only run when:
8
+ # - PRs are (re)opened against develop branch
9
+ on :
10
+ pull_request :
11
+ branches :
12
+ - develop
13
+ types :
14
+ - opened
15
+ - reopened
16
+ - synchronize
17
+
18
+ jobs :
19
+ clippy_check :
20
+ name : Clippy Check
21
+ runs-on : ubuntu-latest
22
+ steps :
23
+ - name : Checkout the latest code
24
+ id : git_checkout
25
+ uses : actions/checkout@v3
26
+ - name : Define Rust Toolchain
27
+ id : define_rust_toolchain
28
+ run : echo "RUST_TOOLCHAIN=$(cat ./rust-toolchain)" >> $GITHUB_ENV
29
+ - name : Setup Rust Toolchain
30
+ id : setup_rust_toolchain
31
+ uses : actions-rust-lang/setup-rust-toolchain@v1
32
+ with :
33
+ toolchain : ${{ env.RUST_TOOLCHAIN }}
34
+ components : clippy
35
+ - name : Clippy
36
+ id : clippy
37
+ uses : actions-rs/clippy-check@v1
38
+ with :
39
+ token : ${{ secrets.GITHUB_TOKEN }}
40
+ args : -p libstackerdb -p stacks-signer -p pox-locking --no-deps --tests --all-features -- -D warnings
You can’t perform that action at this time.
0 commit comments