steps: checks: image: nixos/nix:latest commands: - nix develop --accept-flake-config -c bun install --frozen-lockfile - nix develop --accept-flake-config -c bun run lint - nix develop --accept-flake-config -c bun run typecheck - nix develop --accept-flake-config -c bun run build - nix develop --accept-flake-config -c bun run update:bun-nix - git diff --exit-code bun.nix - nix build --accept-flake-config .#default when: - event: [pull_request, push] --- steps: deploy: image: nixos/nix:latest commands: - sudo -n /usr/local/libexec/deploy-sortug when: - event: push - branch: master