Sort action lists to make diffing easier.

PiperOrigin-RevId: 523639362
Change-Id: I8a43799f58ad1ed5b19ec074fa9cb9a567591f36
This commit is contained in:
Googler 2023-04-12 02:06:32 -07:00 committed by Copybara-Service
parent be9ff3eb41
commit 06e9dcf4b7
1 changed files with 2 additions and 2 deletions

View File

@ -186,7 +186,7 @@ def env_set(actions, env_entries = [], with_features = []):
_check_same_type(env_entries, [], "env_entries", "env_set")
_check_same_type(with_features, [], "with_features", "env_set")
return EnvSetInfo(
actions = actions,
actions = sorted(actions),
env_entries = env_entries,
with_features = with_features,
type_name = "env_set",
@ -348,7 +348,7 @@ def flag_set(
_check_same_type(with_features, [], "with_features", "flag_set")
_check_same_type(flag_groups, [], "flag_groups", "flag_set")
return FlagSetInfo(
actions = actions,
actions = sorted(actions),
with_features = with_features,
flag_groups = flag_groups,
type_name = "flag_set",