Skip to content

Commit 726374a

Browse files
Merge pull request #21 from spiegel-im-spiegel/fix-bugs-and-testing
Bump up version of external packages
2 parents 90c442f + fd49f9e commit 726374a

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v2
1313
- uses: actions/setup-go@v2
1414
with:
15-
go-version: ^1.16
15+
go-version: ^1.17
1616
- name: golangci-lint
1717
uses: golangci/golangci-lint-action@v2
1818
with:
@@ -21,4 +21,4 @@ jobs:
2121
# Optional: golangci-lint command line arguments.
2222
args: --enable gosec
2323
- name: testing
24-
run: go test ./...
24+
run: go test -shuffle on ./...

.github/workflows/vulns.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-go@v2
1616
with:
17-
go-version: ^1.16
17+
go-version: ^1.17
1818
- name: WriteGoList
1919
run: go list -json -m all > go.list
2020
- name: Nancy

Taskfile.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ tasks:
1010
desc: Test and lint.
1111
cmds:
1212
- 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 ./...
1515
sources:
1616
- ./go.mod
1717
- '**/*.go'
1818

1919
clean:
2020
desc: Initialize module and build cache, and remake go.sum file.
2121
cmds:
22-
- go mod tidy -v
22+
- go mod tidy -v -go=1.17

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/spiegel-im-spiegel/pa-api
22

3-
go 1.16
3+
go 1.17
44

55
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
88
)

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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=

0 commit comments

Comments
 (0)