Skip to content
Merged
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
11 changes: 4 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ jobs:
run: |
cd gopath/github.com/katydid/parser-go-json
go mod download -x
- name: Install tools
run: |
cd gopath/github.com/katydid/parser-go-json
go install -x github.com/awalterschulze/checklicense
- name: env
run: env && go env && pwd
- name: tree
Expand All @@ -35,9 +31,10 @@ jobs:
cd gopath/github.com/katydid/parser-go-json
make test
- name: Checklicencse
run: |
cd gopath/github.com/katydid/parser-go-json
make checklicense
uses: awalterschulze/[email protected]
with:
path: gopath/github.com/katydid/parser-go-json
ignores: doc.go .png .svg .txt
- name: Diff
run: |
cd gopath/github.com/katydid/parser-go-json
Expand Down
14 changes: 0 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@

all: nuke build test

checklicense:
go get github.com/awalterschulze/checklicense
checklicense . \
doc.go \
tools/tools.go \
.svg \
.txt \
COPIED_FROM_GO

test:
go clean -testcache
go test -v ./...
Expand Down Expand Up @@ -54,10 +45,5 @@ noallocsprofile:
gofmt:
gofmt -l -s -w .

travis:
make all
make checklicense
make diff

diff:
git diff --exit-code .
4 changes: 0 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@ module github.com/katydid/parser-go-json

go 1.24

tool github.com/awalterschulze/checklicense

require github.com/katydid/parser-go v0.7.4

require github.com/awalterschulze/checklicense v1.0.1 // indirect
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
github.com/awalterschulze/checklicense v1.0.1 h1:7jGGGSkWC/uwlepPUQ8vkm+EZH1nIIn9orQJf9S+hD8=
github.com/awalterschulze/checklicense v1.0.1/go.mod h1:Tx5mn8+o6YTSeqtM0rIF3ATVEdWmsPy0TxqObvFAF/U=
github.com/katydid/parser-go v0.7.4 h1:WSSlgw6mWuXq4rxvOf6yqT/Pau9VRk5WS1lfOyAyuWA=
github.com/katydid/parser-go v0.7.4/go.mod h1:9Kh6lTCIkxQGHAwL7CkMg5kJlaMcb+52+wM5+JcYCuA=