File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ name: Cargo Hack Check
2
2
3
3
on :
4
4
workflow_call :
5
+ inputs :
6
+ rust-nightly-version :
7
+ description : Nightly toolchain to use.
8
+ required : false
9
+ type : string
10
+ default : nightly
5
11
6
12
env :
7
13
RUST_BACKTRACE : full
@@ -116,3 +122,30 @@ jobs:
116
122
117
123
- name : Run cargo hack check
118
124
run : ${{ matrix.command }}
125
+
126
+ fuzz-targets :
127
+ name : Fuzz targets (nightly)
128
+ runs-on : ubuntu-latest
129
+ needs : setup
130
+ steps :
131
+ - name : Checkout
132
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
133
+ with :
134
+ persist-credentials : false
135
+
136
+ # Install nightly matching org pattern, pinned to v1.13.0 of the action.
137
+ - name : Install Rust nightly toolchain
138
+ id : install_rust
139
+ uses : actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48 # v1.13.0
140
+ with :
141
+ toolchain : ${{ inputs.rust-nightly-version }}
142
+ cache : true
143
+ cache-key : >
144
+ fuzz-${{ hashFiles('clarity/fuzz/Cargo.lock') }}
145
+
146
+ - name : Build fuzz targets (compile-only)
147
+ run : |
148
+ cargo +${{ inputs.rust-nightly-version }} build \
149
+ --manifest-path clarity/fuzz/Cargo.toml \
150
+ --bins \
151
+ --locked
You can’t perform that action at this time.
0 commit comments