Skip to content

Commit af22231

Browse files
committed
test clippy gha issue
1 parent fed76b0 commit af22231

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

.github/workflows/static-analysis.yml

+31-31
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: Static Analysis
2-
on: [push, workflow_dispatch]
2+
on: [ push, workflow_dispatch ]
33
concurrency:
44
group: ${{ github.workflow }}-${{ github.ref }}
55
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
66

77
jobs:
88
fmt:
99
if: github.event.pull_request.draft == false
10-
runs-on: [self-hosted, Linux, X64]
10+
runs-on: [ self-hosted, Linux, X64 ]
1111
steps:
1212
- name: Checkout the source code
1313
uses: actions/checkout@v3
@@ -33,38 +33,38 @@ jobs:
3333
fi
3434
taplo fmt --check
3535
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
6464

6565
check-license:
6666
if: github.event.pull_request.draft == false
67-
runs-on: [self-hosted, Linux, X64]
67+
runs-on: [ self-hosted, Linux, X64 ]
6868
steps:
6969
- name: Checkout the source code
7070
uses: actions/checkout@v3

0 commit comments

Comments
 (0)