All Projects → jandelgado → Golang Ci Template Github Actions

jandelgado / Golang Ci Template Github Actions

Licence: mit
example for golang project using github actions

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Golang Ci Template Github Actions

Codecov Python
Python report uploader for Codecov
Stars: ✭ 162 (+575%)
Mutual labels:  ci, coverage
Rain
🌧️ A live example to illustrate python packaging, testing, building, & deploying
Stars: ✭ 99 (+312.5%)
Mutual labels:  ci, coverage
mylib
Шаблон кросплатформенного CMake-проекта для языка C++ 🇬🇧 Modern CMake crossplatform project template for C++
Stars: ✭ 49 (+104.17%)
Mutual labels:  coverage, ci
Moderncppstarter
🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
Stars: ✭ 2,381 (+9820.83%)
Mutual labels:  ci, coverage
Xcov
Nice code coverage reporting without hassle
Stars: ✭ 467 (+1845.83%)
Mutual labels:  ci, coverage
Captain
Captain - Convert your Git workflow to Docker 🐳 containers
Stars: ✭ 739 (+2979.17%)
Mutual labels:  ci
Azure Pipelines Template
template for your azure pipelines
Stars: ✭ 17 (-29.17%)
Mutual labels:  ci
Gogradle
A Gradle Plugin Providing Full Support for Go
Stars: ✭ 712 (+2866.67%)
Mutual labels:  coverage
Abstruse
Abstruse is a free and open-source CI/CD platform that tests your models and code.
Stars: ✭ 704 (+2833.33%)
Mutual labels:  ci
Gotesplit
Splits the testing in Go into a subset and run it. It is useful for the CI environment.
Stars: ✭ 23 (-4.17%)
Mutual labels:  ci
Docker Jenkins
Jenkins with Blue Ocean and support for builiding jobs in Docker
Stars: ✭ 18 (-25%)
Mutual labels:  ci
Xcodecoverage
Code coverage for Xcode projects (Objective-C only)
Stars: ✭ 818 (+3308.33%)
Mutual labels:  coverage
Toast
Containerize your development and continuous integration environments. 🥂
Stars: ✭ 748 (+3016.67%)
Mutual labels:  ci
Haiku
🚀 Instant Heroku deploys from GitHub branches
Stars: ✭ 17 (-29.17%)
Mutual labels:  ci
Gocd
Main repository for GoCD - Continuous Delivery server
Stars: ✭ 6,314 (+26208.33%)
Mutual labels:  ci
Flutter engine build
Flutter Engine构建产物归档
Stars: ✭ 19 (-20.83%)
Mutual labels:  ci
Gg Shield
Detect secret in source code, scan your repo for leaks. Find secrets with GitGuardian and prevent leaked credentials. GitGuardian is an automated secrets detection & remediation service.
Stars: ✭ 708 (+2850%)
Mutual labels:  ci
Taskcat
Test all the CloudFormation things! (with TaskCat)
Stars: ✭ 799 (+3229.17%)
Mutual labels:  ci
Cargo Make
Rust task runner and build tool.
Stars: ✭ 895 (+3629.17%)
Mutual labels:  coverage
Super Linter
Combination of multiple linters to install as a GitHub Action
Stars: ✭ 7,445 (+30920.83%)
Mutual labels:  ci

golang ci template using github actions

Build Status Coverage Status Go Report Card

Info

This repository serves as a template for github-actions integrated go projects. It consists of a hello, world! like example in source file main.go which gets compiled into binary golang-ci-template-github-actions. The CI runs some linters on the code, before the unit tests are executed. When the build stage was successful, build artifacts are uploaded and available in the CI job status.

For demonstration purposes, a linux, macos and windows target are created and packetized in a zip-archive.

Creating a release

On your repositories home (github.com) go to Releases > create release. When a new release is created, the released-artifacts are automatically uploaded to github and available on the releases page

Test coverage (coveralls)

We use the gcov2lcov-action to first convert the golang test coverage to lcov format and then upload it using the coveralls github action.

Don't forget to enable Leave comments (x) in coveralls, under repo settings > pull request alerts, so that the coveralls-action posts a comment with the test coverage to affected pull requests:

pr screenshot

Author

Jan Delgado

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].