GAWf stands for GitHub Action Workflow, this open-source project is providing a complete Continuous Integration (CI) workflow for GitHub Action that specific for Go Language. This template allow developer to be easier in integrate shift left test onto their codebase with ease, to capture feedback earlier while deliver features.
Standard implementation to start with GAWf for Go in your project. Makefile is used to abstract commands from developer as the test and compile method can be vary on each developer.
- Create Makefile in your project.
- Add command to test and compile:
make test:
# your command to test the project
# i.e go test ./... <extra-params>
make compile:
# your command to compile
# i.e go build -o <binary-name> <extra-params>- Test your command by running
make compileandmake testto ensure it works on local machine.
- code-quality
- test-coverage
- compilation
- containerize
- publish-to-artefactThis project was inspired by GitLab CI/CD Catalogue and I added support a variety of standard tools (which in GitLab several features need for Ultimate plan) but tailored with the standard implementation. Gopher image source is generated by Google Gemini. It has licenses MIT.
