Skip to content

Commit 836ca94

Browse files
committed
formatting
1 parent 569c503 commit 836ca94

6 files changed

+15
-20
lines changed

.github/workflows/check-clippy-all-features.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,5 @@ jobs:
5454
-e RUSTDOCFLAGS='-D warnings' \
5555
-e SKIP_WASM_BUILD=1 \
5656
paritytech/ci-unified:bullseye-1.74.0 \
57-
bash -c "
58-
cargo clippy --all-targets --all-features --locked --quiet"
57+
bash -c "cargo clippy --all-targets --all-features --locked --quiet"
5958

.github/workflows/check-clippy.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
id: step-head-commit
1818
run: echo "headCommitMsg=$(git show -s --format=%s)" >> "$GITHUB_OUTPUT"
1919

20-
check-clippy:
20+
cargo-test-all-features:
2121
runs-on: ubuntu-latest
2222
needs: get-head-commit-msg
2323
if: ${{ !contains(needs.get-head-commit-msg.outputs.head-commit-msg, 'ci-skip-rust') }}
@@ -45,7 +45,7 @@ jobs:
4545
- name: Set up Docker Buildx
4646
uses: docker/setup-buildx-action@v3
4747

48-
- name: Run Clippy
48+
- name: Run Test
4949
run: |
5050
docker run --rm \
5151
-v "${GITHUB_WORKSPACE}:/workspace" \
@@ -54,5 +54,4 @@ jobs:
5454
-e RUSTDOCFLAGS='-D warnings' \
5555
-e SKIP_WASM_BUILD=1 \
5656
paritytech/ci-unified:bullseye-1.74.0 \
57-
bash -c "
58-
cargo clippy --all-targets --locked --quiet"
57+
bash -c "cargo clippy --all-targets --locked --quiet"

.github/workflows/check-rustdoc.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Cargo Clippy
1+
name: Check rustdoc
22

33
on:
44
pull_request:
@@ -54,5 +54,4 @@ jobs:
5454
-e RUSTDOCFLAGS='-D warnings' \
5555
-e SKIP_WASM_BUILD=1 \
5656
paritytech/ci-unified:bullseye-1.74.0 \
57-
bash -c "
58-
cargo doc --all-features --no-deps --locked"
57+
bash -c "cargo doc --all-features --no-deps --locked"

.github/workflows/docs-publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
docker run --rm \
2727
-v "${GITHUB_WORKSPACE}:/workspace" \
2828
-v "${HOME}/.cargo:/root/.cargo" \
29+
-e RUSTDOCFLAGS='-D warnings' \
2930
-w /workspace \
3031
paritytech/ci-unified:bullseye-1.74.0 \
31-
bash -c "
32-
RUSTDOCFLAGS='-D warnings' cargo doc --all-features --no-deps --locked && \
32+
bash -c "cargo doc --all-features --no-deps --locked && \
3333
chown -R $(id -u):$(id -g) target/doc"
3434
3535
- name: Deploy

.github/workflows/test-all-features.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Check Clippy
1+
name: Test all-features
22

33
on:
44
pull_request:
@@ -45,7 +45,7 @@ jobs:
4545
- name: Set up Docker Buildx
4646
uses: docker/setup-buildx-action@v3
4747

48-
- name: Run Clippy
48+
- name: Run Test all-features
4949
run: |
5050
docker run --rm \
5151
-v "${GITHUB_WORKSPACE}:/workspace" \
@@ -54,5 +54,4 @@ jobs:
5454
-e RUSTDOCFLAGS='-D warnings' \
5555
-e SKIP_WASM_BUILD=1 \
5656
paritytech/ci-unified:bullseye-1.74.0 \
57-
bash -c "
58-
cargo test --all-features --all-targets --locked"
57+
bash -c "cargo test --all-features --all-targets --locked"

.github/workflows/test.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Check Clippy
1+
name: Cargo Test
22

33
on:
44
pull_request:
@@ -17,7 +17,7 @@ jobs:
1717
id: step-head-commit
1818
run: echo "headCommitMsg=$(git show -s --format=%s)" >> "$GITHUB_OUTPUT"
1919

20-
check-clippy:
20+
cargo-test:
2121
runs-on: ubuntu-latest
2222
needs: get-head-commit-msg
2323
if: ${{ !contains(needs.get-head-commit-msg.outputs.head-commit-msg, 'ci-skip-rust') }}
@@ -45,7 +45,7 @@ jobs:
4545
- name: Set up Docker Buildx
4646
uses: docker/setup-buildx-action@v3
4747

48-
- name: Run Clippy
48+
- name: Run Test
4949
run: |
5050
docker run --rm \
5151
-v "${GITHUB_WORKSPACE}:/workspace" \
@@ -54,5 +54,4 @@ jobs:
5454
-e RUSTDOCFLAGS='-D warnings' \
5555
-e SKIP_WASM_BUILD=1 \
5656
paritytech/ci-unified:bullseye-1.74.0 \
57-
bash -c "
58-
cargo test --all-targets --locked"
57+
bash -c "cargo test --all-targets --locked"

0 commit comments

Comments
 (0)