mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 04:37:13 +00:00
Remove TestRandom (#9006)
We have a legacy `TestRandom` trait which generates random types for testing and fuzzing. This function overlaps with `arbitrary` which is used very commonly in the ecosystem. Remove `TestRandom` and generate random type instances using `Arbitrary`. Co-Authored-By: Mac L <mjladson@pm.me> Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
This commit is contained in:
4
.github/workflows/test-suite.yml
vendored
4
.github/workflows/test-suite.yml
vendored
@@ -85,8 +85,8 @@ jobs:
|
||||
while IFS= read -r file || [ -n "$file" ]; do
|
||||
# Skip comments and empty lines
|
||||
[[ "$file" =~ ^#.*$ || -z "$file" ]] && continue
|
||||
if [ -f "$file" ]; then
|
||||
echo "::error::Forbidden file exists: $file"
|
||||
if [ -e "$file" ]; then
|
||||
echo "::error::Forbidden file or directory exists: $file"
|
||||
status=1
|
||||
fi
|
||||
done < .github/forbidden-files.txt
|
||||
|
||||
Reference in New Issue
Block a user