mirror of
https://github.com/luxfhe/ml-sdk.git
synced 2026-10-30 18:13:04 +00:00
Machine Learning with FHE - fork of Zama Concrete-ML - Built-in FHE-friendly ML models - scikit-learn compatible API - PyTorch model conversion - Quantization-aware training
29 lines
660 B
Bash
Executable File
29 lines
660 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
LOG_FILE=$(mktemp /tmp/actionlint.script.XXXXXX)
|
|
SUMMARY_LOG_FILE=$(mktemp /tmp/actionlint.script.XXXXXX)
|
|
|
|
# Get actionlint errors
|
|
actionlint | cat > "$LOG_FILE"
|
|
|
|
# Get only where the errors are, not their type
|
|
grep -v github/workflows/continuous-integration.yaml "$LOG_FILE" | grep -v ^" |" | cat > "$SUMMARY_LOG_FILE"
|
|
|
|
# Check errors which are not whitelisted
|
|
if python3 script/make_utils/actionlint_check_with_whitelists.py < "$SUMMARY_LOG_FILE";
|
|
then
|
|
echo "Successful end"
|
|
exit 0
|
|
else
|
|
echo "Full log file: "
|
|
cat "$LOG_FILE"
|
|
|
|
echo
|
|
echo "Summary log file:"
|
|
cat "$SUMMARY_LOG_FILE"
|
|
exit 255
|
|
fi
|
|
|