The template for new go repository.
- MIT License by default
- GitHub Action workflows:
- testing all pull requests by running same tools for stable and previous Go version and checking code coverage using
codecov
action - checking code quality by running
golangci-lint
action - making a new release by running
goreleaser
action when a new tag is pushed
- testing all pull requests by running same tools for stable and previous Go version and checking code coverage using
- Create a repository using this repo as template
- Replace in all files
go-repo-template
to the project's name - Replace
sv-tools
to the project's owner - In case of library:
- Remove
.github/Dockerfile
,.github/goreleaser-cli.yml
files - Remove
release-cli
section in the.github/workflows/release.yaml
file
- Remove
- Modify
README.md
by removing this text - Feel free to modify any other files
Set up branch protection rules for the main branch and configure to run CodeQL analysis.
MIT licensed. See the bundled LICENSE file for more details.