Skip to content

Commit 60b0e9f

Browse files
committed
manually add shell key to some steps
1 parent 0f1599b commit 60b0e9f

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

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

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,42 +28,48 @@ jobs:
2828
with:
2929
toolchain: ${{ env.RUST_TOOLCHAIN }}
3030
## run the cargo check steps with
31-
- name: Cargo Version
32-
id: cargo_version
31+
32+
## this step fails on the unused imports
33+
- name: Cargo Check (clarity)
34+
# if: ${{ false }}
35+
id: cargo_check_clarity
3336
run: |
34-
cargo version
35-
# cargo 1.86.0 (adf9b6ad1 2025-02-28)
37+
cargo check -p clarity --no-default-features
3638
3739
- name: Cargo Check
3840
id: cargo_check
41+
shell: bash
3942
run: |
4043
cargo check
4144
4245
- name: Cargo Check (monitoring_prom)
4346
id: cargo_check_prom
47+
shell: bash
4448
run: |
4549
cargo check --features monitoring_prom
4650
47-
## this step fails on the unused imports
48-
- name: Cargo Check (clarity)
49-
# if: ${{ false }}
50-
shell: bash -e
51-
id: cargo_check_clarity
52-
run: |
53-
cargo check -p clarity --no-default-features
51+
# ## this step fails on the unused imports
52+
# - name: Cargo Check (clarity)
53+
# # if: ${{ false }}
54+
# id: cargo_check_clarity
55+
# run: |
56+
# cargo check -p clarity --no-default-features
5457

5558
- name: Cargo Check (stacks-common)
5659
id: cargo_check_stacks-common
60+
shell: bash
5761
run: |
5862
cargo check -p stacks-common --no-default-features
5963
6064
- name: Dump constants JSON
6165
id: consts-dump
66+
shell: bash
6267
run: |
6368
cargo run --bin stacks-inspect -- dump-consts | tee out.json
6469
6570
- name: Compare expected constants JSON
6671
id: expects-json
72+
shell: bash
6773
run: |
6874
# if there is a diff, return will be non-zero
6975
diff out.json ./sample/expected_consts.json >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)