File tree 2 files changed +70
-0
lines changed
2 files changed +70
-0
lines changed Original file line number Diff line number Diff line change
1
+ # https://github.com/actions/go-dependency-submission
2
+ name : dependency-submission
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ permissions :
9
+ contents : write
10
+
11
+ jobs :
12
+ main :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v3
16
+ - uses : actions/setup-go@v3
17
+ with :
18
+ go-version : " 1.18"
19
+ - uses : actions/go-dependency-submission@v1
20
+ with :
21
+ go-mod-path : go.mod
Original file line number Diff line number Diff line change
1
+ name : main
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ workflow_dispatch :
9
+
10
+ concurrency :
11
+ group : ${{ github.head_ref || github.run_id }}
12
+ cancel-in-progress : true
13
+
14
+ jobs :
15
+ test :
16
+ runs-on : ubuntu-latest
17
+ strategy :
18
+ fail-fast : false
19
+ matrix :
20
+ go-version :
21
+ - " 1.18"
22
+ - " 1.19"
23
+ - " 1.20"
24
+ - " 1.21"
25
+ steps :
26
+ - uses : actions/setup-go@v3
27
+ with :
28
+ go-version : ${{ matrix.go-version }}
29
+ - uses : actions/checkout@v3
30
+ - run : go test -v ./...
31
+
32
+ golangci-lint :
33
+ runs-on : ubuntu-latest
34
+ steps :
35
+ - uses : actions/setup-go@v3
36
+ with :
37
+ go-version : 1.18
38
+ - uses : actions/checkout@v3
39
+ - uses : golangci/golangci-lint-action@v3
40
+
41
+ markdownlint-cli :
42
+ runs-on : ubuntu-latest
43
+ steps :
44
+ - uses : actions/checkout@v3
45
+
46
+ with :
47
+ files : .
48
+ config_file : .markdownlint.yaml
49
+ dot : true
You can’t perform that action at this time.
0 commit comments