Skip to content

Commit 9d01d6f

Browse files
committed
Add input to skip lint to release build
1 parent 1f8720f commit 9d01d6f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/_build-release.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818
description: "Include Stwo in build"
1919
type: boolean
2020
default: true
21+
include_lint:
22+
description: "Include CairoLint in build"
23+
type: boolean
24+
default: true
2125

2226
env:
2327
# TODO(#1915): Use stable toolchain once stwo is stable.
@@ -86,7 +90,8 @@ jobs:
8690
- name: Build
8791
run: |
8892
${{ env.CARGO }} build --release --locked --target ${{ matrix.target }} --workspace --exclude scarb-prove \
89-
--exclude scarb-verify ${{ inputs.include_cairols && '--exclude scarb-cairo-language-server' || ''}}
93+
--exclude scarb-verify ${{ inputs.include_cairols && '--exclude scarb-cairo-language-server' || ''}} \
94+
--no-default-features ${{ inputs.include_lint && '--features scarb/scarb-lint' || ''}}
9095
9196
- uses: dtolnay/rust-toolchain@master
9297
if: inputs.include_stwo

0 commit comments

Comments
 (0)