Skip to content

Commit dc80fb9

Browse files
committed
fix(ci): disable eval-cache and accept-flake-config
1 parent 16c6005 commit dc80fb9

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

scripts/github-matrix.py

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ def build_nix_eval_command(max_workers: int, target: str) -> List[str]:
9292
"--check-cache-status",
9393
"--force-recurse",
9494
"--quiet",
95+
"--option",
96+
"eval-cache",
97+
"false",
98+
"--option",
99+
"accept-flake-config",
100+
"true",
95101
"--workers",
96102
str(max_workers),
97103
]
@@ -214,7 +220,11 @@ def clean_package_for_output(pkg: GitHubActionPackage) -> dict:
214220
"name": pkg["name"],
215221
"system": pkg["system"],
216222
"runs_on": pkg["runs_on"],
217-
**({ "postgresql_version": pkg["postgresql_version"]} if "postgresql_version" in pkg else {})
223+
**(
224+
{"postgresql_version": pkg["postgresql_version"]}
225+
if "postgresql_version" in pkg
226+
else {}
227+
),
218228
}
219229

220230
if args.target == "extensions":
@@ -238,7 +248,10 @@ def clean_package_for_output(pkg: GitHubActionPackage) -> dict:
238248
cleaned_packages = [clean_package_for_output(pkg) for pkg in gh_action_packages]
239249
gh_output = {"include": cleaned_packages}
240250

241-
print(f"debug: Generated GitHub Actions matrix: {json.dumps(gh_output, indent=2)}", file=sys.stderr)
251+
print(
252+
f"debug: Generated GitHub Actions matrix: {json.dumps(gh_output, indent=2)}",
253+
file=sys.stderr,
254+
)
242255
print(json.dumps(gh_output))
243256

244257

0 commit comments

Comments
 (0)