Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for --requireTriggers #21

Merged
merged 1 commit into from
Sep 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ inputs:
description: 'Parallelize branches in the silicon backend.'
required: false
default: '0'
requireTriggers:
description: 'Require that all quantifiers have user-provided triggers.'
required: false
default: '0'
conditionalizePermissions:
description: 'Tries to reduce the number of branches that Gobra has to deal with the option --conditionalizePermissions'
required: false
Expand Down
4 changes: 4 additions & 0 deletions docker-action/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ if [[ $INPUT_PARALLELIZEBRANCHES -eq 1 ]]; then
GOBRA_ARGS="$GOBRA_ARGS --parallelizeBranches"
fi

if [[ $INPUT_REQUIRETRIGGERS -eq 1 ]]; then
GOBRA_ARGS="$GOBRA_ARGS --requireTriggers"
fi

if [[ $INPUT_CONDITIONALIZEPERMISSIONS -eq 1 ]]; then
GOBRA_ARGS="$GOBRA_ARGS --conditionalizePermissions"
fi
Expand Down
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ echo "Run Docker Action container"
docker run -e INPUT_CACHING -e INPUT_PROJECTLOCATION -e INPUT_INCLUDEPATHS -e INPUT_FILES -e INPUT_PACKAGES -e INPUT_EXCLUDEPACKAGES -e INPUT_CHOP \
-e INPUT_VIPERBACKEND -e INPUT_JAVAXSS -e INPUT_JAVAXMX -e INPUT_TIMEOUT -e INPUT_HEADERONLY -e INPUT_STATSFILE \
-e INPUT_MODULE -e INPUT_RECURSIVE -e INPUT_ASSUMEINJECTIVITYONINHALE -e INPUT_CHECKCONSISTENCY -e INPUT_MCEMODE \
-e INPUT_REQUIRETRIGGERS \
-e INPUT_PARALLELIZEBRANCHES -e INPUT_CONDITIONALIZEPERMISSIONS -e GITHUB_WORKSPACE -e GITHUB_REPOSITORY \
-e STATS_TARGET -e DEBUG_MODE -v "$RUNNER_WORKSPACE:$GITHUB_WORKSPACE" -v "$INPUT_STATSFILE:$STATS_TARGET" \
--workdir "$GITHUB_WORKSPACE" docker-action
Loading