https://github.com/open-turo/actions-go
GitHub Actions for Golang repositories
https://github.com/open-turo/actions-go
action actions gha github go golang
Last synced: 6 months ago
JSON representation
GitHub Actions for Golang repositories
- Host: GitHub
- URL: https://github.com/open-turo/actions-go
- Owner: open-turo
- License: mit
- Created: 2022-01-28T02:14:49.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-10T00:08:57.000Z (about 2 years ago)
- Last Synced: 2024-05-10T01:26:27.780Z (about 2 years ago)
- Topics: action, actions, gha, github, go, golang
- Language: Shell
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 7
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# `open-turo/actions-go`
GitHub Actions for `golang` based repositories. These rely on the other actions present in [open-turo](https://github.com/open-turo).
[](https://github.com/open-turo/actions-go/releases/)
[](https://github.com/open-turo/actions-go/actions/)
[](./LICENSE)
[](https://github.com/dwyl/esta/issues)

[](https://github.com/semantic-release/semantic-release)
[](https://conventionalcommits.org)
[](https://turo.com/jobs)
## Actions
### action: [`lint`](./lint)
Lint will run pre-commit linters against the consumer repository, optionally checking out, and installing golang and any other required tools with [action-setup-tools](https://github.com/open-turo/action-setup-tools).
See usage [here](./lint/README.md#usage).
Documentation is found [here](./lint/README.md).
### action: [`release`](./release)
Release will optionally checkout the consumer repository and attempt a [Semantic Release](https://semantic-release.gitbook.io/semantic-release/usage/configuration) using the root level configuration file (e.g. `.releaserc.json`) indicating branches and plugins to use to facilitate the release. [GoReleaser](https://goreleaser.com/) will be used to perform the actual release.
See usage [here](./release/README.md#usage).
Documentation is found [here](./release/README.md).
### action: [`prerelease`](./prerelease)
Pre-release will perform the same steps as in the [`release`](./release) action but will run [GoReleaser](https://goreleaser.com/) to generate a [snapshot](https://goreleaser.com/customization/snapshots/?h=snapshot) release.
See usage [here](./prerelease/README.md#usage).
Documentation is found [here](./prerelease/README.md).
### action: [`test`](./test)
Executes golang unit tests that exist anywhere within the consumer repository and reports test results and coverage metrics as well. [action-setup-tools](https://github.com/open-turo/action-setup-tools) will be used to install golang, honoring the version information found in the `.go-version` file found in the root level of the consumer repository.
See usage [here](./test/README.md#usage).
Documentation is found [here](./test/README.md).
## Get Help
Each Action has a detailed README for how to use it as referenced above. Please review Issues, post new Issues against this repository as needed.
## Contributions
Please see [here](https://github.com/open-turo/contributions) for guidelines on how to contribute to this project.
[version-image]: https://img.shields.io/github/package-json/v/open-turo/actions-go.svg
[workflows-badge-image]: https://github.com/cycjimmy/semantic-release-action/workflows/Test%20Release/badge.svg
[release-date-image]: https://img.shields.io/github/release-date/open-turo/actions-go.svg
[release-url]: https://github.com/cycjimmy/semantic-release-action/releases
[semantic-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
[semantic-url]: https://github.com/semantic-release/semantic-release
[license-image]: https://img.shields.io/npm/l/@cycjimmy/semantic-release-action.svg
[license-url]: https://github.com/cycjimmy/semantic-release-action/blob/master/LICENSE
[changelog-url]: https://github.com/cycjimmy/semantic-release-action/blob/master/docs/CHANGELOG.md
[github-packages-registry]: https://github.com/features/packages