File tree Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 12
12
- uses : actions/checkout@v2
13
13
- uses : actions/setup-go@v2
14
14
with :
15
- go-version : ^1.16
15
+ go-version : ^1.17
16
16
- name : golangci-lint
17
17
uses : golangci/golangci-lint-action@v2
18
18
with :
21
21
# Optional: golangci-lint command line arguments.
22
22
args : --enable gosec
23
23
- name : testing
24
- run : go test ./...
24
+ run : go test -shuffle on ./...
Original file line number Diff line number Diff line change 14
14
- uses : actions/checkout@v2
15
15
- uses : actions/setup-go@v2
16
16
with :
17
- go-version : ^1.16
17
+ go-version : ^1.17
18
18
- name : WriteGoList
19
19
run : go list -json -m all > go.list
20
20
- name : Nancy
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ tasks:
10
10
desc : Test and lint.
11
11
cmds :
12
12
- go mod verify
13
- - go test ./...
14
- - docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.41 .1 golangci-lint run --enable gosec --timeout 3m0s ./...
13
+ - go test -shuffle on ./...
14
+ - docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.42 .1 golangci-lint run --enable gosec --timeout 3m0s ./...
15
15
sources :
16
16
- ./go.mod
17
17
- ' **/*.go'
18
18
19
19
clean :
20
20
desc : Initialize module and build cache, and remake go.sum file.
21
21
cmds :
22
- - go mod tidy -v
22
+ - go mod tidy -v -go=1.17
Original file line number Diff line number Diff line change 1
1
module github.com/spiegel-im-spiegel/pa-api
2
2
3
- go 1.16
3
+ go 1.17
4
4
5
5
require (
6
- github.com/spiegel-im-spiegel/errs v1.0.4
7
- github.com/spiegel-im-spiegel/fetch v0.2.4
6
+ github.com/spiegel-im-spiegel/errs v1.0.5
7
+ github.com/spiegel-im-spiegel/fetch v0.2.5
8
8
)
Original file line number Diff line number Diff line change 1
- github.com/spiegel-im-spiegel/errs v1.0.4 h1:87I8cOWD6g+7PhxPkET0tODPNIVk23ysxw+3yPCKGZY =
2
- github.com/spiegel-im-spiegel/errs v1.0.4 /go.mod h1:dnsj80s7gRuzjtTxIE5oXZb2RGOyKPG3s+duTK1NkQs =
3
- github.com/spiegel-im-spiegel/fetch v0.2.4 h1:myxLKH+o8m/8EqF5656juc4hPtCu/W6HcTvEeBtdDGg =
4
- github.com/spiegel-im-spiegel/fetch v0.2.4 /go.mod h1:WnG95BpB4f6z7+q9us7ro1+RzFX4XTk8yChIJpZ/u18 =
1
+ github.com/spiegel-im-spiegel/errs v1.0.5 h1:5qAUEXPZgF4ZIUmw2vpe7OgDP0C8DIV67BKwjfLidJI =
2
+ github.com/spiegel-im-spiegel/errs v1.0.5 /go.mod h1:mOsWcUc9hpRXjwdgJqJ3E2n6ibkYFvhNck1QD0ZVGOM =
3
+ github.com/spiegel-im-spiegel/fetch v0.2.5 h1:S3yMboi2AT8DqubEed3OQfRHLABK+R44ooEHNw5fqTk =
4
+ github.com/spiegel-im-spiegel/fetch v0.2.5 /go.mod h1:1O8nwPhJvt5JGBwVPzngcT71Y65us4GCyjuVyvCN4sk =
You can’t perform that action at this time.
0 commit comments