File tree Expand file tree Collapse file tree 4 files changed +17
-10
lines changed
Expand file tree Collapse file tree 4 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 MemLimiter :
11- runs-on : fedora -latest
11+ runs-on : ubuntu -latest
1212 steps :
13- - name : Hello World!
14- run : echo "HW!"
15-
16- - name : Set up Go
17- uses : actions/setup-go@v2
18- with :
19- go-version : 1.18
13+ - uses : actions/checkout@v3
14+ - uses : actions/setup-go@v3
2015
2116 - name : Verify dependencies
2217 run : go mod verify
2823 run : make test
2924
3025 - name : Lint
31- run : make lint
26+ uses : golangci/golangci-lint-action@v3
27+ with :
28+ version : v1.42.1
29+ args : -c .golangci.yml
Original file line number Diff line number Diff line change 11build :
22 go build ./...
3- pushd ./test/allocator && go build . && popd
3+ cd ./test/allocator && go build . && cd -
44
55test :
66 go test -v -count=1 ./...
Original file line number Diff line number Diff line change 1+ [ ![ Go Reference] ( https://pkg.go.dev/badge/github.com/newcloudtechnologies/memlimiter.svg )] ( https://pkg.go.dev/github.com/newcloudtechnologies/memlimiter )
2+
13# MemLimiter
24
35Library that helps to limit memory consumption of your Go service.
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) New Cloud Technologies, Ltd. 2013-2022.
3+ * Author: Vitaly Isaev <vitaly.isaev@myoffice.team>
4+ * License: https://github.com/newcloudtechnologies/memlimiter/blob/master/LICENSE
5+ */
6+
7+ package test
You can’t perform that action at this time.
0 commit comments