File tree 1 file changed +17
-10
lines changed
1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -14,29 +14,36 @@ jobs:
14
14
- name : Checkout
15
15
uses : actions/checkout@main
16
16
- name : Markup Link Checker (mlc)
17
- uses : becheran/mlc@v0.15.4
18
- coverage :
17
+ uses : becheran/mlc@v0.16.2
18
+ coverage :
19
19
runs-on : ubuntu-latest
20
20
steps :
21
21
- uses : actions/checkout@main
22
22
- uses : codecov/codecov-action@v1
23
+ lint :
24
+ name : lint
25
+ runs-on : ubuntu-latest
26
+ steps :
27
+ - uses : actions/checkout@v3
28
+ - uses : actions/setup-go@v4
29
+ with :
30
+ go-version : " 1.21"
31
+ - name : golangci-lint
32
+ uses : golangci/golangci-lint-action@v3
33
+ with :
34
+ version : v1.53
23
35
test-and-release :
24
36
runs-on : ubuntu-latest
25
37
needs : [check-links]
26
38
steps :
27
39
- name : Checkout
28
- uses : actions/checkout@v2
29
- with :
30
- fetch-depth : 0
31
-
40
+ uses : actions/checkout@v3
32
41
- name : Set up Go
33
- uses : actions/setup-go@v2
42
+ uses : actions/setup-go@v4
34
43
with :
35
- go-version : 1.18
36
-
44
+ go-version : 1.21
37
45
- name : Test
38
46
run : go test ./...
39
-
40
47
- name : Run GoReleaser
41
48
uses : goreleaser/goreleaser-action@v2
42
49
if : startsWith(github.ref, 'refs/tags/')
You can’t perform that action at this time.
0 commit comments