Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ggera committed Aug 20, 2024
1 parent 569c503 commit 836ca94
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 20 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/check-clippy-all-features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,5 @@ jobs:
-e RUSTDOCFLAGS='-D warnings' \
-e SKIP_WASM_BUILD=1 \
paritytech/ci-unified:bullseye-1.74.0 \
bash -c "
cargo clippy --all-targets --all-features --locked --quiet"
bash -c "cargo clippy --all-targets --all-features --locked --quiet"
7 changes: 3 additions & 4 deletions .github/workflows/check-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
id: step-head-commit
run: echo "headCommitMsg=$(git show -s --format=%s)" >> "$GITHUB_OUTPUT"

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

- name: Run Clippy
- name: Run Test
run: |
docker run --rm \
-v "${GITHUB_WORKSPACE}:/workspace" \
Expand All @@ -54,5 +54,4 @@ jobs:
-e RUSTDOCFLAGS='-D warnings' \
-e SKIP_WASM_BUILD=1 \
paritytech/ci-unified:bullseye-1.74.0 \
bash -c "
cargo clippy --all-targets --locked --quiet"
bash -c "cargo clippy --all-targets --locked --quiet"
5 changes: 2 additions & 3 deletions .github/workflows/check-rustdoc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Cargo Clippy
name: Check rustdoc

on:
pull_request:
Expand Down Expand Up @@ -54,5 +54,4 @@ jobs:
-e RUSTDOCFLAGS='-D warnings' \
-e SKIP_WASM_BUILD=1 \
paritytech/ci-unified:bullseye-1.74.0 \
bash -c "
cargo doc --all-features --no-deps --locked"
bash -c "cargo doc --all-features --no-deps --locked"
4 changes: 2 additions & 2 deletions .github/workflows/docs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
docker run --rm \
-v "${GITHUB_WORKSPACE}:/workspace" \
-v "${HOME}/.cargo:/root/.cargo" \
-e RUSTDOCFLAGS='-D warnings' \
-w /workspace \
paritytech/ci-unified:bullseye-1.74.0 \
bash -c "
RUSTDOCFLAGS='-D warnings' cargo doc --all-features --no-deps --locked && \
bash -c "cargo doc --all-features --no-deps --locked && \
chown -R $(id -u):$(id -g) target/doc"
- name: Deploy
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/test-all-features.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check Clippy
name: Test all-features

on:
pull_request:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Run Clippy
- name: Run Test all-features
run: |
docker run --rm \
-v "${GITHUB_WORKSPACE}:/workspace" \
Expand All @@ -54,5 +54,4 @@ jobs:
-e RUSTDOCFLAGS='-D warnings' \
-e SKIP_WASM_BUILD=1 \
paritytech/ci-unified:bullseye-1.74.0 \
bash -c "
cargo test --all-features --all-targets --locked"
bash -c "cargo test --all-features --all-targets --locked"
9 changes: 4 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check Clippy
name: Cargo Test

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

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

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

0 comments on commit 836ca94

Please sign in to comment.