Commit 836ca94 1 parent 569c503 commit 836ca94 Copy full SHA for 836ca94
File tree 6 files changed +15
-20
lines changed
6 files changed +15
-20
lines changed Original file line number Diff line number Diff line change 54
54
-e RUSTDOCFLAGS='-D warnings' \
55
55
-e SKIP_WASM_BUILD=1 \
56
56
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"
59
58
Original file line number Diff line number Diff line change 17
17
id : step-head-commit
18
18
run : echo "headCommitMsg=$(git show -s --format=%s)" >> "$GITHUB_OUTPUT"
19
19
20
- check-clippy :
20
+ cargo-test-all-features :
21
21
runs-on : ubuntu-latest
22
22
needs : get-head-commit-msg
23
23
if : ${{ !contains(needs.get-head-commit-msg.outputs.head-commit-msg, 'ci-skip-rust') }}
45
45
- name : Set up Docker Buildx
46
46
uses : docker/setup-buildx-action@v3
47
47
48
- - name : Run Clippy
48
+ - name : Run Test
49
49
run : |
50
50
docker run --rm \
51
51
-v "${GITHUB_WORKSPACE}:/workspace" \
54
54
-e RUSTDOCFLAGS='-D warnings' \
55
55
-e SKIP_WASM_BUILD=1 \
56
56
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"
Original file line number Diff line number Diff line change 1
- name : Cargo Clippy
1
+ name : Check rustdoc
2
2
3
3
on :
4
4
pull_request :
54
54
-e RUSTDOCFLAGS='-D warnings' \
55
55
-e SKIP_WASM_BUILD=1 \
56
56
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"
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ jobs:
26
26
docker run --rm \
27
27
-v "${GITHUB_WORKSPACE}:/workspace" \
28
28
-v "${HOME}/.cargo:/root/.cargo" \
29
+ -e RUSTDOCFLAGS='-D warnings' \
29
30
-w /workspace \
30
31
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 && \
33
33
chown -R $(id -u):$(id -g) target/doc"
34
34
35
35
- name : Deploy
Original file line number Diff line number Diff line change 1
- name : Check Clippy
1
+ name : Test all-features
2
2
3
3
on :
4
4
pull_request :
45
45
- name : Set up Docker Buildx
46
46
uses : docker/setup-buildx-action@v3
47
47
48
- - name : Run Clippy
48
+ - name : Run Test all-features
49
49
run : |
50
50
docker run --rm \
51
51
-v "${GITHUB_WORKSPACE}:/workspace" \
54
54
-e RUSTDOCFLAGS='-D warnings' \
55
55
-e SKIP_WASM_BUILD=1 \
56
56
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"
Original file line number Diff line number Diff line change 1
- name : Check Clippy
1
+ name : Cargo Test
2
2
3
3
on :
4
4
pull_request :
17
17
id : step-head-commit
18
18
run : echo "headCommitMsg=$(git show -s --format=%s)" >> "$GITHUB_OUTPUT"
19
19
20
- check-clippy :
20
+ cargo-test :
21
21
runs-on : ubuntu-latest
22
22
needs : get-head-commit-msg
23
23
if : ${{ !contains(needs.get-head-commit-msg.outputs.head-commit-msg, 'ci-skip-rust') }}
45
45
- name : Set up Docker Buildx
46
46
uses : docker/setup-buildx-action@v3
47
47
48
- - name : Run Clippy
48
+ - name : Run Test
49
49
run : |
50
50
docker run --rm \
51
51
-v "${GITHUB_WORKSPACE}:/workspace" \
54
54
-e RUSTDOCFLAGS='-D warnings' \
55
55
-e SKIP_WASM_BUILD=1 \
56
56
paritytech/ci-unified:bullseye-1.74.0 \
57
- bash -c "
58
- cargo test --all-targets --locked"
57
+ bash -c "cargo test --all-targets --locked"
You can’t perform that action at this time.
0 commit comments