Skip to content

nandcep/gawf-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GAWf - Go Language

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.

Getting Started

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.

Command Abstraction

  1. Create Makefile in your project.
  2. 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>
  1. Test your command by running make compile and make test to ensure it works on local machine.

Import Workflow

Input Variables

Rules

Trunk-Based Development (TBD)

Tagging

Artifactory

Workflow Features

- code-quality
- test-coverage
- compilation
- containerize
- publish-to-artefact

Code Quality Stage

Test Coverage

Compilation

Containerize

Publish to Artefact

Examples

About the Project

This 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.

About

Continuous Integration (CI) workflow for GitHub Action, specific for Go Language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors