Skip to content

Commit 719e63f

Browse files
committed
nwa ci test
1 parent 9d95634 commit 719e63f

File tree

5 files changed

+4
-23
lines changed

5 files changed

+4
-23
lines changed

.github/workflows/pr-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
run: go install github.com/B1NARY-GR0UP/nwa@c1ec32a9d490e77e7399a59f4d3eb6a23f352bec
2929

3030
- name: Run License Header Check
31-
run: nwa check -c "BINARY Members" -l apache ./*.go
31+
run: nwa check -c "BINARY Members" -l apache **/*.go

test.go renamed to dirA/test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package main
15+
package dirA
1616

1717
func test() string {
1818
return ""

test3.go renamed to dirB/dirC/test3.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package main
15+
package dirC
1616

1717
func test3() string {
1818
return ""

test2.go renamed to dirB/test2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package main
15+
package dirB
1616

1717
func test2() string {
1818
return ""

test4.go

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)