My nixos configuration
at main 25 lines 1.2 kB view raw
1.PHONY: workflows check fmt 2 3workflows: .github/workflows/flake-update.yml .github/workflows/pull-check.yml .github/workflows/check-generated.yml .coderabbit.yaml 4 5check: 6 cue vet -c ./cicd/ .github/workflows/flake-update.yml -d 'workflows.updater' 7 cue vet -c ./cicd/ .github/workflows/pull-check.yml -d 'workflows.pull_request' 8 cue vet -c ./cicd/ .github/workflows/check-generated.yml -d 'workflows.checker' 9 cue vet -c ./cicd/ .coderabbit.yaml -d 'coderabbit_yml' 10 11.github/workflows/flake-update.yml: cicd/*.cue cue.mod/module.cue 12 CUE_DEBUG=sortfields cue export ./cicd/ -f -e workflows.updater -o .github/workflows/flake-update.yml 13 14.github/workflows/pull-check.yml: cicd/*.cue cue.mod/module.cue 15 CUE_DEBUG=sortfields cue export ./cicd/ -f -e workflows.pull_request -o .github/workflows/pull-check.yml 16 17.github/workflows/check-generated.yml: cicd/*.cue cue.mod/module.cue 18 CUE_DEBUG=sortfields cue export ./cicd/ -f -e workflows.checker -o .github/workflows/check-generated.yml 19 20.coderabbit.yaml: cicd/*.cue cue.mod/module.cue 21 CUE_DEBUG=sortfields cue export ./cicd/ -f -e coderabbit_yml -o .coderabbit.yaml 22 23fmt: 24 cue fmt cicd/*.cue 25 alejandra .