File tree 5 files changed +35
-2
lines changed
5 files changed +35
-2
lines changed Original file line number Diff line number Diff line change 7
7
schedule :
8
8
- cron : " 32 4 * * 5"
9
9
10
+ concurrency :
11
+ group : ${{ github.workflow }}-${{ github.ref }}
12
+ cancel-in-progress : true
13
+
10
14
jobs :
11
15
Test :
12
16
strategy :
@@ -151,3 +155,27 @@ jobs:
151
155
cargo sort --check --check-format --grouped
152
156
cd - > /dev/null
153
157
done
158
+
159
+ Fuzz :
160
+ strategy :
161
+ matrix :
162
+ fuzz_target :
163
+ - all
164
+ - filters
165
+ - html
166
+ - parser
167
+ runs-on : ubuntu-latest
168
+ steps :
169
+ - uses : actions/checkout@v4
170
+ with :
171
+ submodules : recursive
172
+ - uses : dtolnay/rust-toolchain@master
173
+ with :
174
+ toolchain : nightly
175
+ components : rust-src
176
+ - run : curl --location --silent --show-error --fail https://github.com/cargo-bins/cargo-quickinstall/releases/download/cargo-fuzz-0.12.0/cargo-fuzz-0.12.0-x86_64-unknown-linux-gnu.tar.gz | tar -xzvvf - -C $HOME/.cargo/bin
177
+ - uses : Swatinem/rust-cache@v2
178
+ - run : cargo fuzz run ${{ matrix.fuzz_target }} --jobs 4 -- -max_total_time=90
179
+ working-directory : fuzzing
180
+ env :
181
+ RUSTFLAGS : ' -Ctarget-feature=-crt-static'
Original file line number Diff line number Diff line change
1
+ [submodule "fuzzing/fuzz/corpus "]
2
+ path = fuzzing/fuzz/corpus
3
+ url = https://github.com/rinja-rs/fuzzing-corpus.git
4
+ branch = main
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ * - text - diff binary
2
+ .gitattributes text diff
You can’t perform that action at this time.
0 commit comments