Skip to content

Commit

Permalink
Remove obsolete test
Browse files Browse the repository at this point in the history
  • Loading branch information
rscarson committed Nov 12, 2024
1 parent 1b85594 commit 3b05e9a
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,4 @@ jobs:

# Test documentation generation
- name: Test documentation
run: cargo doc --features snapshot_builder

# Confirm sandbox integrity from features
- name: Confirm sandbox integrity
run: |
# Set up variables
forbidden=("cache", "io", "web", "webstorage", "websocket", "all", "fs_import", "url_import")
output=$(cargo rustc -- --print cfg)
found_forbidden=0
# Check for forbidden features in the default set
for feature in "${forbidden[@]}"; do
flagtext="feature=\"$feature\""
if echo "$output" | grep -q "$flagtext"; then
echo "Error: $flagtext in default features"
found_forbidden=1
fi
done
# Finish up
if [ $found_forbidden -eq 0 ]; then
exit 0
else
exit 1
fi
run: cargo doc --features snapshot_builder

0 comments on commit 3b05e9a

Please sign in to comment.