The following steps require go-task and docker to be installed. Please see each tool's documentation for installation instructions.
# Build the image
ANVIL_TAG=local task build
# Test the image (after building)
ANVIL_TAG=local task test
# Put it all together
ANVIL_TAG=local task build test
This project uses Git pre-commit hooks provided by pre-commit. Make sure you install the hooks, or the CI pipeline will fail when you try to submit a pull request
# You need Python/Pip to install pre-commit
pip install pre-commit
# Now that pre-commit is installed, install the hooks
cd your/project/directory
pre-commit install
# The hooks will now run whenever you do a git commit. To run them manually:
pre-commit run -a