Skip to content

Commit

Permalink
Update CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdappollonio committed Feb 20, 2023
1 parent 6914b7c commit 617fcf2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/releasing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20
go-version: "1.20"
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
- name: Test application
run: go test -v ./...
- name: Release application to Github
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20
go-version: "1.20"
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down
3 changes: 1 addition & 2 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ func root() *cobra.Command {
rootCommand.Flags().BoolVar(&opts.SortByKind, "sort-by-kind", false, "if enabled, resources are sorted by Kind, a la Helm, before saving them to disk")
rootCommand.Flags().BoolVar(&opts.OutputToStdout, "stdout", false, "if enabled, no resource is written to disk and all resources are printed to stdout instead")

rootCommand.Flags().MarkHidden("debug")

_ = rootCommand.Flags().MarkHidden("debug")
return rootCommand
}

0 comments on commit 617fcf2

Please sign in to comment.