Skip to content

Commit d5f972a

Browse files
committed
ci-skip-rust;ci-skip-integration-tests
1 parent eecdd08 commit d5f972a

File tree

4 files changed

+10
-20
lines changed

4 files changed

+10
-20
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Clippy check --all-features
22
on:
3-
pull_request:
4-
types: [opened, synchronize, reopened, edited]
3+
push:
54

65
concurrency:
76
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -15,12 +14,12 @@ jobs:
1514
runs-on: ubuntu-latest
1615
container:
1716
image: paritytech/ci-unified:bullseye-1.74.0
18-
if: ${{ !contains(github.event.head_commit.message, '[ci-skip-rust]') }}
1917
steps:
20-
- name: Remove unnecessary files
21-
run: |
22-
sudo rm -rf /usr/share/dotnet
23-
sudo docker rmi $(docker image ls -aq) >/dev/null 2>&1 || true
18+
- name: Maximize build space
19+
uses: easimon/maximize-build-space@master
20+
with:
21+
remove-android: 'true'
22+
remove-dotnet: 'true'
2423
- uses: actions/checkout@v4
2524
- name: Run Clippy
2625
run: SKIP_WASM_BUILD=1 cargo clippy --all-targets --all-features --locked --quiet

.github/workflows/check-clippy.yml

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Clippy check
22
on:
3-
pull_request:
4-
types: [opened, synchronize, reopened, edited]
3+
push:
54

65
concurrency:
76
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -17,17 +16,11 @@ jobs:
1716
image: paritytech/ci-unified:bullseye-1.74.0
1817
if: ${{ !contains(github.event.head_commit.message, '[ci-skip-rust]') }}
1918
steps:
20-
- name: Remove unnecessary files
21-
run: |
22-
sudo rm -rf /usr/share/dotnet
23-
sudo docker rmi $(docker image ls -aq) >/dev/null 2>&1 || true
2419
- name: Maximize build space
2520
uses: easimon/maximize-build-space@master
2621
with:
27-
root-reserve-mb: 512
28-
swap-size-mb: 1024
29-
remove-dotnet: 'true'
3022
remove-android: 'true'
23+
remove-dotnet: 'true'
3124
- uses: actions/checkout@v4
3225
- name: Run Clippy
3326
run: SKIP_WASM_BUILD=1 cargo clippy --all-targets --all-features --locked --quiet

.github/workflows/integration-tests.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: Integration tests
22

33
on:
4-
pull_request:
5-
types: [opened, synchronize, reopened, edited]
4+
push:
65

76
concurrency:
87
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/try-runtime.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: Try-runtime
22

33
on:
4-
pull_request:
5-
types: [opened, synchronize, reopened, edited]
4+
push:
65

76
concurrency:
87
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

0 commit comments

Comments
 (0)