ci: init selfci

This commit is contained in:
Romain Paquet 2026-04-08 21:18:35 +02:00
parent c0124d5829
commit b2cbf6bbe1
2 changed files with 32 additions and 0 deletions

31
.config/selfci/ci.yaml Normal file
View file

@ -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

View file

@ -13,6 +13,7 @@
pkgs.nil # Nix language server pkgs.nil # Nix language server
pkgs.nixfmt pkgs.nixfmt
pkgs.opentofu pkgs.opentofu
pkgs.selfci
pkgs.terraform-ls pkgs.terraform-ls
pkgs.deploy-rs pkgs.deploy-rs
pkgs.zsh pkgs.zsh