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 pre-commit
script runs some checks 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.
When a new release is created, the released-artifacts are automatically
uploaded to github and available on the release
For demonstration purposes, both a linux- and windows target is created and
packetized in a zip-archive.
Creating a release
On your repositories home (github.com) go to Releases > create release.
As soon as the release-tag is created, the artifacts will be built and uploaded
to the release page.