File tree 4 files changed +869
-0
lines changed
4 files changed +869
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Licenses
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - main
8
+ - master
9
+
10
+ jobs :
11
+ check :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - uses : actions/setup-go@v2
16
+ with :
17
+ go-version : " 1.18"
18
+ - uses : actions/setup-node@v2
19
+ with :
20
+ node-version : " 18"
21
+ - run : make licenses
Original file line number Diff line number Diff line change @@ -5,12 +5,18 @@ format: .bin/goimports node_modules # formats the source code
5
5
help :
6
6
@cat Makefile | grep ' ^[^ ]*:' | grep -v ' ^\.bin/' | grep -v ' .SILENT:' | grep -v ' ^node_modules:' | grep -v help | sed ' s/:.*#/#/' | column -s " #" -t
7
7
8
+ licenses : .bin/licenses node_modules # checks open-source licenses
9
+ .bin/licenses
10
+
8
11
test : # runs all tests
9
12
go test ./...
10
13
11
14
.bin/goimports : Makefile
12
15
GOBIN=$(shell pwd) /.bin go install golang.org/x/tools/cmd/goimports@latest
13
16
17
+ .bin/licenses : Makefile
18
+ curl https://raw.githubusercontent.com/ory/ci/master/licenses/install | sh
19
+
14
20
node_modules : package-lock.json
15
21
npm ci
16
22
touch node_modules
You can’t perform that action at this time.
0 commit comments