Skip to content

Commit

Permalink
fixup! feat: add ko test command to build with go test -c
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-d committed Oct 1, 2024
1 parent e14c6c5 commit 55a1914
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/commands/test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018 ko Build Authors All Rights Reserved.
// Copyright 2024 ko Build Authors All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
14 changes: 14 additions & 0 deletions test/test/dummy_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright 2024 ko Build Authors All Rights Reserved.

Check failure on line 1 in test/test/dummy_test.go

View workflow job for this annotation

GitHub Actions / Lint

[error] Filename finding: `dummy_test` may be insensitive, use `placeholder`, `sample` instead

Check failure on line 1 in test/test/dummy_test.go

View workflow job for this annotation

GitHub Actions / Lint

[woke] reported by reviewdog 🐶 [error] Filename finding: `dummy_test` may be insensitive, use `placeholder`, `sample` instead Raw Output: test/test/dummy_test.go:1:1: [error] Filename finding: `dummy_test` may be insensitive, use `placeholder`, `sample` instead
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package test

import "testing"
Expand Down

0 comments on commit 55a1914

Please sign in to comment.