DEV Community

Discussion on: Go tools & GitLab — how to do Continuous Integration like a boss

Collapse
 
tymonx profile image
Tymoteusz Blazejczyk

@chilladx You may be interested in this project: gitlab.com/tymonx/gitlab-ci

The whole validating, testing, building and documenting Go project in GitLab will come down to just a few lines in your .gitlab-ci.yml file:

include:
    - project: 'tymonx/gitlab-ci'
      ref: v0.54.0
      file: '/templates/generic/go.yml'

build:
    extends: .go-build

test:
    extends: .go-test

pages:
    extends: .go-doc
    dependencies:
        - test

And this is making Go & GitLab CI like a boss :)