File tree Expand file tree Collapse file tree 9 files changed +404
-108
lines changed Expand file tree Collapse file tree 9 files changed +404
-108
lines changed Original file line number Diff line number Diff line change @@ -36,18 +36,13 @@ jobs:
36
36
# a pull request then we can checkout the head.
37
37
fetch-depth : 2
38
38
39
- # If this run was triggered by a pull request event, then checkout
40
- # the head of the pull request instead of the merge commit.
41
- - run : git checkout HEAD^2
42
- if : ${{ github.event_name == 'pull_request' }}
43
-
44
39
# Initializes the CodeQL tools for scanning.
45
40
- name : Initialize CodeQL
46
41
uses : github/codeql-action/init@v1
47
42
with :
48
43
languages : ${{ matrix.language }}
49
44
# If you wish to specify custom queries, you can do so here or in a config file.
50
- # By default, queries listed here will override any specified in a config file.
45
+ # By default, queries listed here will override any specified in a config file.
51
46
# Prefix the list here with "+" to use these queries and those in the config file.
52
47
# queries: ./path/to/local/query, your-org/your-repo/queries@main
53
48
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 :
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 : install depm
17
17
run : go install github.com/spiegel-im-spiegel/depm@latest
18
18
- name : WriteGoList
Original file line number Diff line number Diff line change 10
10
11
11
# Output of the go coverage tool, specifically when used with LiteIDE
12
12
* .out
13
+
14
+ # Other files and folders
15
+ * .bak
16
+ .task /
Original file line number Diff line number Diff line change
1
+ version : ' 3'
2
+
3
+ tasks :
4
+ default :
5
+ cmds :
6
+ - task : clean
7
+ - task : test
8
+
9
+ test :
10
+ desc : Test and lint.
11
+ cmds :
12
+ - go mod verify
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
+ sources :
16
+ - ./go.mod
17
+ - ' **/*.go'
18
+
19
+ clean :
20
+ desc : Initialize module and build cache, and remake go.sum file.
21
+ cmds :
22
+ - go mod tidy -v -go=1.17
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
module github.com/spiegel-im-spiegel/openbd-api
2
2
3
- go 1.16
3
+ go 1.17
4
4
5
5
require (
6
- github.com/spf13/cobra v1.1.3
7
- github.com/spiegel-im-spiegel/errs v1.0.2
8
- github.com/spiegel-im-spiegel/fetch v0.2.3
9
- github.com/spiegel-im-spiegel/gocli v0.10.4
6
+ github.com/spf13/cobra v1.2.1
7
+ github.com/spiegel-im-spiegel/errs v1.0.5
8
+ github.com/spiegel-im-spiegel/fetch v0.2.5
9
+ github.com/spiegel-im-spiegel/gocli v0.10.5
10
+ )
11
+
12
+ require (
13
+ github.com/inconshreveable/mousetrap v1.0.0 // indirect
14
+ github.com/spf13/pflag v1.0.5 // indirect
10
15
)
Load Diff Large diffs are not rendered by default.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments