Skip to content
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
10 changes: 7 additions & 3 deletions .github/workflows/quest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,16 @@ jobs:
- uses: DeterminateSystems/nix-installer-action@1d87d45818068401a10cf16bdc5f00b24994a83f # main
with:
determinate: false
# Trust the flake's cachix substituter, which holds the dev shell;
# see check.yml.
# Trust the flake's cachix substituter, which holds the quest build
# as part of the dev shell closure; see check.yml.
extra-conf: |
extra-substituters = https://kixelated.cachix.org
extra-trusted-public-keys = kixelated.cachix.org-1:CmFcV0lyM6KuVM2m9mih0q4SrAa0XyCsiM7GHrz3KKk=

# The whole tree, unscoped: a push has no base to diff against.
#
# Only the quest package, not `nix develop`: the dev shell compiles
# uniffi-bindgen-go from source whenever cache.yml hasn't pushed it for
# this flake.lock yet, which ran past the timeout.
- name: Check
run: nix develop --command quest check
run: nix run .#quest -- check
8 changes: 7 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,8 @@

# Apply our overlay to get the package definitions
overlayPkgs = pkgs.extend self.overlays.default;

quest-cli = quest.packages.${system}.default;
in
{
packages = (rec {
Expand Down Expand Up @@ -460,6 +462,10 @@

inherit uniffi-bindgen-dart;

# The quest CLI alone, so quest.yml can validate the tree without
# realising the whole dev shell.
quest = quest-cli;

# Bundle of packaging + repo-publish tooling, pinned via flake.lock.
# CI builds this and prepends its bin/ to $PATH so subsequent steps
# use the same versions a local `nix develop` user would.
Expand Down Expand Up @@ -504,7 +510,7 @@
++ goDeps
++ dartDeps
++ devTools
++ [ quest.packages.${system}.default ];
++ [ quest-cli ];

# jemalloc's configure uses -O0 test builds, which conflict with
# Nix's _FORTIFY_SOURCE hardening (requires -O).
Expand Down
Loading