Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '>=1.21.3'
go-version: '>=1.25.0'
- name: build
run: make build
testing:
Expand All @@ -49,7 +49,7 @@ jobs:
key: ${{ runner.os }}-binaries-${{ hashFiles('**/go.sum') }}
- uses: actions/setup-go@v4
with:
go-version: '>=1.21.3'
go-version: '>=1.25.0'
- name: run tests
run: make test

6 changes: 3 additions & 3 deletions pkg/ocp/sources.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ type SourceConfig struct {
// GitConfig represents the git source control configuration for a source.
type GitConfig struct {
Repo string `json:"repo"`
Reference string `json:"reference"`
Reference string `json:"reference,omitempty"`
Commit string `json:"commit,omitempty"`
Path string `json:"path"`
Path string `json:"path,omitempty"`
IncludedFiles []string `json:"included_files,omitempty"`
ExcludedFiles []string `json:"excluded_files,omitempty"`
CredentialID string `json:"credentials,omitempty"`
Expand All @@ -89,7 +89,7 @@ type GitConfig struct {
// Datasource represents a datasource for a source.
type Datasource struct {
Name string `json:"name" yaml:"name"`
Path string `json:"path" yaml:"path"`
Path string `json:"path,omitempty" yaml:"path,omitempty"`
Type string `json:"type" yaml:"type"`
TransformQuery string `json:"transform_query,omitempty" yaml:"transform_query,omitempty"`
Config map[string]interface{} `json:"config,omitempty" yaml:"config,omitempty"`
Expand Down
Loading