diff --git a/.config/selfci/ci.yaml b/.config/selfci/ci.yaml new file mode 100644 index 0000000..0bbb96f --- /dev/null +++ b/.config/selfci/ci.yaml @@ -0,0 +1,31 @@ +# SelfCI Configuration + +job: + # This command will be executed for all jobs + # Use $SELFCI_JOB_NAME env var to determine which job is running + command: | + set -eou pipefail + + selfci step start "check" + nix flake check . + + # Command prefix for executing the command + # Can be used to change the shell, or disable shell interpretation + # of `command` altogether. + # command-prefix: ["bash", "-c"] + + # Clone mode: "partial", "shallow", or "full" (default: partial) + # - partial: Fast, uses partial clone (--filter=blob:none) - all commits, blobs on-demand + # - shallow: Most compact, uses shallow clone (--depth=1) - single commit only + # - full: Complete clone with all history and objects + clone-mode: partial + +# Merge queue configuration (optional) +# mq: +# # Default base branch for merge queue +# base-branch: main +# +# # Merge style: "rebase" or "merge" (default: rebase) +# # - rebase: Rebase candidate commits on top of base branch (no merge commit) +# # - merge: Create a merge commit +# merge-style: rebase diff --git a/devShells/flake-module.nix b/devShells/flake-module.nix index 961492c..87b679f 100644 --- a/devShells/flake-module.nix +++ b/devShells/flake-module.nix @@ -13,6 +13,7 @@ pkgs.nil # Nix language server pkgs.nixfmt pkgs.opentofu + pkgs.selfci pkgs.terraform-ls pkgs.deploy-rs pkgs.zsh