File tree 6 files changed +18
-18
lines changed
6 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 30
30
31
31
steps :
32
32
- name : Checkout repository
33
- uses : actions/checkout@v2
33
+ uses : actions/checkout@v3
34
34
with :
35
35
# We must fetch at least the immediate parents so that if this is
36
36
# a pull request then we can checkout the head.
Original file line number Diff line number Diff line change 6
6
build :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
- - uses : actions/checkout@v2
9
+ - uses : actions/checkout@v3
10
10
with :
11
11
fetch-depth : 2
12
- - uses : actions/setup-go@v2
12
+ - uses : actions/setup-go@v3
13
13
with :
14
14
go-version : ' 1.19'
15
15
- name : Run coverage
Original file line number Diff line number Diff line change 6
6
name : Ensure docs are generated
7
7
runs-on : ubuntu-latest
8
8
steps :
9
- - uses : actions/checkout@v2
9
+ - uses : actions/checkout@v3
10
10
- name : Generate code
11
11
run : go run ./cmd/scw-doc-gen
12
12
env :
17
17
markdown-link-check :
18
18
runs-on : ubuntu-latest
19
19
steps :
20
- - uses : actions/checkout@v2
20
+ - uses : actions/checkout@v3
21
21
-
uses :
gaurav-nelson/[email protected]
22
22
with :
23
23
use-quiet-mode : ' yes'
Original file line number Diff line number Diff line change 6
6
name : lint
7
7
runs-on : ubuntu-latest
8
8
steps :
9
- - uses : actions/checkout@v2
9
+ - uses : actions/checkout@v3
10
10
- name : golangci-lint
11
- uses : golangci/golangci-lint-action@v2
11
+ uses : golangci/golangci-lint-action@v3
12
12
with :
13
13
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
14
14
version : v1.50.1
Original file line number Diff line number Diff line change @@ -10,20 +10,20 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : Checkout
13
- uses : actions/checkout@v2
13
+ uses : actions/checkout@v3
14
14
with :
15
15
fetch-depth : 0
16
16
17
17
- name : Login to DockerHub Registry
18
18
run : echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
19
19
20
20
- name : Set up Go
21
- uses : actions/setup-go@v2
21
+ uses : actions/setup-go@v3
22
22
with :
23
- go-version : 1.17
23
+ go-version : 1.19
24
24
25
25
- name : Run GoReleaser
26
- uses : goreleaser/goreleaser-action@v2
26
+ uses : goreleaser/goreleaser-action@v4
27
27
with :
28
28
version : latest
29
29
args : release --rm-dist
Original file line number Diff line number Diff line change 7
7
os-tests :
8
8
strategy :
9
9
matrix :
10
- go-version : [1.18.x, 1. 19.x]
10
+ go-version : [1.19.x]
11
11
platform : [ubuntu-latest, macos-latest, windows-latest]
12
12
runs-on : ${{ matrix.platform }}
13
13
steps :
14
14
- name : Install Go
15
- uses : actions/setup-go@v1
15
+ uses : actions/setup-go@v3
16
16
with :
17
17
go-version : ${{ matrix.go-version }}
18
18
- name : Set git to use LF to avoid problem with goldens on windows
19
19
run : |
20
20
git config --global core.autocrlf false
21
21
git config --global core.eol lf
22
22
- name : Checkout
23
- uses : actions/checkout@v2
23
+ uses : actions/checkout@v3
24
24
with :
25
25
fetch-depth : 1
26
26
- name : Run unit tests
@@ -31,16 +31,16 @@ jobs:
31
31
build-tests :
32
32
strategy :
33
33
matrix :
34
- go-version : [1.18.x, 1. 19.x]
34
+ go-version : [1.19.x]
35
35
platform : [ubuntu-latest]
36
36
runs-on : ${{ matrix.platform }}
37
37
steps :
38
38
- name : Install Go
39
- uses : actions/setup-go@v1
39
+ uses : actions/setup-go@v3
40
40
with :
41
41
go-version : ${{ matrix.go-version }}
42
42
- name : Checkout
43
- uses : actions/checkout@v2
43
+ uses : actions/checkout@v3
44
44
with :
45
45
fetch-depth : 1
46
46
- name : Build binaries
50
50
runs-on : ubuntu-latest
51
51
steps :
52
52
- name : Checkout
53
- uses : actions/checkout@v2
53
+ uses : actions/checkout@v3
54
54
with :
55
55
fetch-depth : 1
56
56
- name : Build image in Docker
You can’t perform that action at this time.
0 commit comments