Skip to content

Commit 390a41a

Browse files
committed
Revert "test speed for different jobs"
This reverts commit c24ec72.
1 parent c24ec72 commit 390a41a

File tree

1 file changed

+17
-50
lines changed

1 file changed

+17
-50
lines changed

.github/workflows/core-build-tests.yml

Lines changed: 17 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
cargo-check:
12-
name: Cargo Check
11+
check-consts:
12+
name: Check the constants from stacks-inspect
1313
runs-on: ubuntu-latest
1414
defaults:
1515
run:
@@ -27,8 +27,15 @@ jobs:
2727
uses: actions-rust-lang/setup-rust-toolchain@11df97af8e8102fd60b60a77dfbf58d40cd843b8 # v1.10.1
2828
with:
2929
toolchain: ${{ env.RUST_TOOLCHAIN }}
30+
## run the cargo check steps with
31+
32+
## this step fails on the unused imports
33+
- name: Cargo Check (clarity)
34+
# if: ${{ false }}
35+
id: cargo_check_clarity
36+
run: |
37+
RUSTFLAGS="" cargo check -p clarity --no-default-features
3038
31-
## run the cargo check steps
3239
- name: Cargo Check
3340
id: cargo_check
3441
run: |
@@ -39,58 +46,17 @@ jobs:
3946
run: |
4047
cargo check --features monitoring_prom
4148
42-
- name: Cargo Check (clarity)
43-
id: cargo_check_clarity
44-
run: |
45-
RUSTFLAGS="" cargo check -p clarity --no-default-features
49+
# ## this step fails on the unused imports
50+
# - name: Cargo Check (clarity)
51+
# # if: ${{ false }}
52+
# id: cargo_check_clarity
53+
# run: |
54+
# cargo check -p clarity --no-default-features
4655

4756
- name: Cargo Check (stacks-common)
4857
id: cargo_check_stacks-common
4958
run: |
5059
cargo check -p stacks-common --no-default-features
51-
52-
check-consts:
53-
name: Check the constants from stacks-inspect
54-
runs-on: ubuntu-latest
55-
needs:
56-
- cargo-check
57-
defaults:
58-
run:
59-
shell: bash
60-
61-
steps:
62-
- name: Checkout the latest code
63-
id: git_checkout
64-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
65-
- name: Define Rust Toolchain
66-
id: define_rust_toolchain
67-
run: echo "RUST_TOOLCHAIN=$(cat ./rust-toolchain)" >> $GITHUB_ENV
68-
- name: Setup Rust Toolchain
69-
id: setup_rust_toolchain
70-
uses: actions-rust-lang/setup-rust-toolchain@11df97af8e8102fd60b60a77dfbf58d40cd843b8 # v1.10.1
71-
with:
72-
toolchain: ${{ env.RUST_TOOLCHAIN }}
73-
74-
# ## run the cargo check steps
75-
# - name: Cargo Check
76-
# id: cargo_check
77-
# run: |
78-
# cargo check
79-
80-
# - name: Cargo Check (monitoring_prom)
81-
# id: cargo_check_prom
82-
# run: |
83-
# cargo check --features monitoring_prom
84-
85-
# - name: Cargo Check (clarity)
86-
# id: cargo_check_clarity
87-
# run: |
88-
# RUSTFLAGS="" cargo check -p clarity --no-default-features
89-
90-
# - name: Cargo Check (stacks-common)
91-
# id: cargo_check_stacks-common
92-
# run: |
93-
# cargo check -p stacks-common --no-default-features
9460
9561
- name: Dump constants JSON
9662
id: consts-dump
@@ -100,4 +66,5 @@ jobs:
10066
- name: Compare expected constants JSON
10167
id: expects-json
10268
run: |
69+
# if there is a diff, return will be non-zero
10370
diff out.json ./sample/expected_consts.json >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)