diff --git a/.github/workflows/check-clippy-all-features.yml b/.github/workflows/check-clippy-all-features.yml index e6a131625..98f48fbfd 100644 --- a/.github/workflows/check-clippy-all-features.yml +++ b/.github/workflows/check-clippy-all-features.yml @@ -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" diff --git a/.github/workflows/check-clippy.yml b/.github/workflows/check-clippy.yml index 83c351ee5..aad896ea5 100644 --- a/.github/workflows/check-clippy.yml +++ b/.github/workflows/check-clippy.yml @@ -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') }} @@ -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" \ @@ -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" diff --git a/.github/workflows/check-rustdoc.yml b/.github/workflows/check-rustdoc.yml index c5522d2e5..4f20cc290 100644 --- a/.github/workflows/check-rustdoc.yml +++ b/.github/workflows/check-rustdoc.yml @@ -1,4 +1,4 @@ -name: Cargo Clippy +name: Check rustdoc on: pull_request: @@ -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" diff --git a/.github/workflows/docs-publish.yml b/.github/workflows/docs-publish.yml index b199e1f91..2d5034c91 100644 --- a/.github/workflows/docs-publish.yml +++ b/.github/workflows/docs-publish.yml @@ -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 diff --git a/.github/workflows/test-all-features.yml b/.github/workflows/test-all-features.yml index d89a393e7..039fba447 100644 --- a/.github/workflows/test-all-features.yml +++ b/.github/workflows/test-all-features.yml @@ -1,4 +1,4 @@ -name: Check Clippy +name: Test all-features on: pull_request: @@ -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" \ @@ -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" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fde1e3bd5..33f57f59e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Check Clippy +name: Cargo Test on: pull_request: @@ -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') }} @@ -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" \ @@ -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"