Skip to content

Commit

Permalink
ci-skip-rust;ci-skip-integration-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ggera committed Aug 1, 2024
1 parent eecdd08 commit d5f972a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 20 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/check-clippy-all-features.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Clippy check --all-features
on:
pull_request:
types: [opened, synchronize, reopened, edited]
push:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -15,12 +14,12 @@ jobs:
runs-on: ubuntu-latest
container:
image: paritytech/ci-unified:bullseye-1.74.0
if: ${{ !contains(github.event.head_commit.message, '[ci-skip-rust]') }}
steps:
- name: Remove unnecessary files
run: |
sudo rm -rf /usr/share/dotnet
sudo docker rmi $(docker image ls -aq) >/dev/null 2>&1 || true
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
remove-android: 'true'
remove-dotnet: 'true'
- uses: actions/checkout@v4
- name: Run Clippy
run: SKIP_WASM_BUILD=1 cargo clippy --all-targets --all-features --locked --quiet
11 changes: 2 additions & 9 deletions .github/workflows/check-clippy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Clippy check
on:
pull_request:
types: [opened, synchronize, reopened, edited]
push:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -17,17 +16,11 @@ jobs:
image: paritytech/ci-unified:bullseye-1.74.0
if: ${{ !contains(github.event.head_commit.message, '[ci-skip-rust]') }}
steps:
- name: Remove unnecessary files
run: |
sudo rm -rf /usr/share/dotnet
sudo docker rmi $(docker image ls -aq) >/dev/null 2>&1 || true
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-dotnet: 'true'
- uses: actions/checkout@v4
- name: Run Clippy
run: SKIP_WASM_BUILD=1 cargo clippy --all-targets --all-features --locked --quiet
3 changes: 1 addition & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Integration tests

on:
pull_request:
types: [opened, synchronize, reopened, edited]
push:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/try-runtime.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Try-runtime

on:
pull_request:
types: [opened, synchronize, reopened, edited]
push:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down

0 comments on commit d5f972a

Please sign in to comment.