1
1
name : Static Analysis
2
- on : [push, workflow_dispatch]
2
+ on : [ push, workflow_dispatch ]
3
3
concurrency :
4
4
group : ${{ github.workflow }}-${{ github.ref }}
5
5
cancel-in-progress : ${{ github.ref != 'refs/heads/master' }}
6
6
7
7
jobs :
8
8
fmt :
9
9
if : github.event.pull_request.draft == false
10
- runs-on : [self-hosted, Linux, X64]
10
+ runs-on : [ self-hosted, Linux, X64 ]
11
11
steps :
12
12
- name : Checkout the source code
13
13
uses : actions/checkout@v3
@@ -33,38 +33,38 @@ jobs:
33
33
fi
34
34
taplo fmt --check
35
35
36
- clippy :
37
- if : github.event.pull_request.draft == false
38
- runs-on : [self-hosted, Linux, X64]
39
- steps :
40
- - name : Checkout the source code
41
- uses : actions/checkout@v3
42
-
43
- - name : Install deps
44
- run : sudo apt -y install protobuf-compiler
45
-
46
- - name : free disk space
47
- run : |
48
- sudo swapoff -a
49
- sudo rm -f /swapfile
50
- sudo apt clean
51
-
52
- - name : Install & display rust toolchain
53
- run : rustup show
54
-
55
- - name : Check targets are installed correctly
56
- run : rustup target list --installed
57
-
58
- - uses : actions-rs/clippy-check@v1
59
- env :
60
- SKIP_WASM_BUILD : 1
61
- with :
62
- token : ${{ secrets.GITHUB_TOKEN }}
63
- args : --features try-runtime,runtime-benchmarks -- -D warnings
36
+ # clippy:
37
+ # if: github.event.pull_request.draft == false
38
+ # runs-on: [self-hosted, Linux, X64]
39
+ # steps:
40
+ # - name: Checkout the source code
41
+ # uses: actions/checkout@v3
42
+ #
43
+ # - name: Install deps
44
+ # run: sudo apt -y install protobuf-compiler
45
+ #
46
+ # - name: free disk space
47
+ # run: |
48
+ # sudo swapoff -a
49
+ # sudo rm -f /swapfile
50
+ # sudo apt clean
51
+ #
52
+ # - name: Install & display rust toolchain
53
+ # run: rustup show
54
+ #
55
+ # - name: Check targets are installed correctly
56
+ # run: rustup target list --installed
57
+ #
58
+ # - uses: actions-rs/clippy-check@v1
59
+ # env:
60
+ # SKIP_WASM_BUILD: 1
61
+ # with:
62
+ # token: ${{ secrets.GITHUB_TOKEN }}
63
+ # args: --features try-runtime,runtime-benchmarks -- -D warnings
64
64
65
65
check-license :
66
66
if : github.event.pull_request.draft == false
67
- runs-on : [self-hosted, Linux, X64]
67
+ runs-on : [ self-hosted, Linux, X64 ]
68
68
steps :
69
69
- name : Checkout the source code
70
70
uses : actions/checkout@v3
0 commit comments