Complete reference for all workflow inputs.
These inputs are available across all workflows:
| Input | Type | Default | Description |
go-version | string | '1.24' | Go version to use |
go-version-file | string | '' | Path to go.mod for version detection |
working-directory | string | '.' | Directory containing Go code |
| Input | Type | Default | Description |
skip-lint | boolean | false | Skip linting phase |
skip-security | boolean | false | Skip security scanning |
skip-build | boolean | false | Skip build matrix |
platforms | string | 'ubuntu-latest,macos-latest,windows-latest' | Build platforms |
race-detection | boolean | true | Enable race detector |
upload-coverage | boolean | true | Upload to Codecov |
upload-sarif | boolean | true | Upload to Code Scanning |
fail-on-vulns | boolean | true | Fail on vulnerabilities |
only-new-issues | boolean | false | New lint issues only |
| Input | Type | Default | Description |
race-detection | boolean | true | Enable -race flag |
test-flags | string | '-v -shuffle=on' | Additional test flags |
upload-coverage | boolean | true | Upload to Codecov |
| Input | Type | Default | Description |
golangci-lint-version | string | 'latest' | Linter version |
config-path | string | '' | Custom config path |
args | string | '' | Additional arguments |
only-new-issues | boolean | false | New issues only |
| Input | Type | Default | Description |
run-gosec | boolean | true | Run gosec |
run-govulncheck | boolean | true | Run govulncheck |
upload-sarif | boolean | true | Upload to Code Scanning |
fail-on-vulns | boolean | true | Fail if issues found |
| Input | Type | Default | Description |
platforms | string | 'ubuntu-latest,macos-latest,windows-latest' | Platforms |
build-flags | string | '-v' | Build flags |
upload-artifacts | boolean | false | Upload binaries |
| Input | Type | Default | Description |
generate-changelog | boolean | true | Auto-generate changelog |
update-godoc | boolean | true | Trigger pkg.go.dev |
draft | boolean | false | Create as draft |
prerelease | boolean | false | Mark as prerelease |
upload-artifacts | boolean | false | Attach binaries |
platforms | string | 'ubuntu-latest,...' | Artifact platforms |