CodeKarma - A CLI tool to check that the code you write aligns with your values written in your manifesto.
GPL-3.0 License
A CLI tool to check that the code you write aligns with your values written in your manifesto.
Simple Deno CLI app using Act for local Github Actions to demonstrate checking compliance of dependencies in a repository against a manifesto of an ideology.
https://github.com/users/ltfschoen/projects/2
deno test --allow-read ${workspaceFolder}./tests/main_test.ts
./install.sh
./run.sh
To check your code, go to the root folder of your project and run codekarma
It will expect a manifest, either in the root folder called codekarma.manifest
or you pass different location with the --manifest
flag.
./install.sh
codekarma --manifest my.manifest
export DOCKER_DEFAULT_PLATFORM=linux/amd64
./docker/build.sh
./docker/run.sh
docker exec --user root -it ltfschoen-ethberlin04 /bin/bash
./bin/act --container-options \"--privileged\" --workflows '.github/workflows/dev.yml' -j 'run' --json --platform ubuntu-18.04=nektos/act-environments-ubuntu:18.04 --watch
Note: Default image and other options can be changed manually in ~/.actrc (please refer to https://github.com/nektos/act#configuration for additional information about file structure)
Remove Docker container docker stop ltfschoen-ethberlin04 && docker rm ltfschoen-ethberlin04
docker context list
export DOCKER_HOST="unix:///var/run/docker.sock"
source ~/.bashrc