Skip to content

Commit 96c7ae8

Browse files
committed
Add nightly clarity/fuzz check
1 parent 2c1b0d0 commit 96c7ae8

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/cargo-hack-check.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,27 @@ jobs:
116116

117117
- name: Run cargo hack check
118118
run: ${{ matrix.command }}
119+
120+
fuzz-targets:
121+
name: Fuzz targets (nightly)
122+
runs-on: ubuntu-latest
123+
steps:
124+
- name: Checkout
125+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
126+
with:
127+
persist-credentials: false
128+
129+
- name: Install Rust nightly toolchain
130+
uses: actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48 # v1.13.0
131+
with:
132+
toolchain: nightly
133+
cache: true
134+
cache-key: >
135+
fuzz-nightly-${{ runner.os }}-${{ hashFiles('clarity/fuzz/Cargo.lock') }}
136+
137+
- name: Check fuzz targets
138+
run: |
139+
cargo +nightly check \
140+
--manifest-path clarity/fuzz/Cargo.toml \
141+
--bins \
142+
--locked

0 commit comments

Comments
 (0)