Shared GitHub Actions workflows consumed by other dangernoodle-io repositories.
Builds and optionally releases Maven projects.
Inputs
| Input | Type | Default | Description |
|---|---|---|---|
maven-goals |
string | — | Maven goal(s) to run (required) |
maven-args |
string | '' |
Additional Maven arguments |
maven-version |
string | 3.9.9 |
Maven version |
enable-coveralls |
boolean | true |
Upload coverage to Coveralls |
release |
boolean | false |
Enable release mode (GPG + SSH setup, Maven Central deploy) |
Usage
jobs:
build:
uses: dangernoodle-io/.github/.github/workflows/maven.yml@main
with:
maven-goals: verify
secrets: inheritRuns build, lint, code generation diff check, and acceptance tests across a Terraform version matrix (1.8–1.14).
Inputs
| Input | Type | Default | Description |
|---|---|---|---|
enable-coveralls |
boolean | true |
Upload coverage to Coveralls (runs on 1.14 only) |
Usage
jobs:
test:
uses: dangernoodle-io/.github/.github/workflows/terraform-provider-test.yml@main
secrets: inheritRuns build, lint, and tests for Go projects with optional Coveralls coverage.
Inputs
| Input | Type | Default | Description |
|---|---|---|---|
enable-coveralls |
boolean | true |
Upload coverage to Coveralls |
Usage
jobs:
build:
uses: dangernoodle-io/.github/.github/workflows/go-build.yml@main
secrets: inheritReleases a Go project via GoReleaser with GPG signing. Requires a .goreleaser.yml in the calling repo.
Inputs
| Input | Type | Default | Description |
|---|---|---|---|
homebrew |
boolean | false |
Publish Homebrew formula to tap repo |
Usage
jobs:
release:
uses: dangernoodle-io/.github/.github/workflows/go-release.yml@main
with:
homebrew: true
secrets: inherit/github subscribe dangernoodle-io/<repo>
/github subscribe dangernoodle-io/<repo>
workflows:{event:"pull_request, workflow_dispatch", "push" branch:"main"}