File tree Expand file tree Collapse file tree 3 files changed +30
-20
lines changed Expand file tree Collapse file tree 3 files changed +30
-20
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ jobs:
10
10
test :
11
11
strategy :
12
12
matrix :
13
- go-version : [1.20.x, 1.21.x ]
13
+ go-version : [stable, oldstable ]
14
14
os : [ubuntu-latest, macos-latest, windows-latest]
15
15
runs-on : ${{ matrix.os }}
16
16
steps :
17
+ - name : Checkout code
18
+ uses : actions/checkout@v4
17
19
- name : Install Go
18
- uses : actions/setup-go@v1
20
+ uses : actions/setup-go@v5
19
21
with :
20
22
go-version : ${{ matrix.go-version }}
21
- - name : Checkout code
22
- uses : actions/checkout@v2
23
23
- name : Test
24
24
run : go test ./...
25
25
- name : Generate coverage report
30
30
runs-on : ubuntu-latest
31
31
steps :
32
32
- name : Checkout code
33
- uses : actions/checkout@v2
33
+ uses : actions/checkout@v4
34
+ - name : Install Go
35
+ uses : actions/setup-go@v5
36
+ with :
37
+ go-version : stable
34
38
- name : Run linter
35
- uses : golangci/golangci-lint-action@v2
39
+ uses : golangci/golangci-lint-action@v6
36
40
with :
37
- version : v1.59
41
+ version : v1.62
Original file line number Diff line number Diff line change 8
8
test :
9
9
strategy :
10
10
matrix :
11
- go-version : [1.20.x, 1.21.x ]
11
+ go-version : [stable, oldstabme ]
12
12
os : [ubuntu-latest, macos-latest, windows-latest]
13
13
runs-on : ${{ matrix.os }}
14
14
steps :
15
+ - name : Checkout code
16
+ uses : actions/checkout@v4
15
17
- name : Install Go
16
- uses : actions/setup-go@v1
18
+ uses : actions/setup-go@v5
17
19
with :
18
20
go-version : ${{ matrix.go-version }}
19
- - name : Checkout code
20
- uses : actions/checkout@v2
21
21
- name : Test
22
22
run : go test ./...
23
23
- name : Generate coverage report
@@ -28,24 +28,28 @@ jobs:
28
28
runs-on : ubuntu-latest
29
29
steps :
30
30
- name : Checkout code
31
- uses : actions/checkout@v2
31
+ uses : actions/checkout@v4
32
+ - name : Install Go
33
+ uses : actions/setup-go@v5
34
+ with :
35
+ go-version : stable
32
36
- name : Run linter
33
- uses : golangci/golangci-lint-action@v2
37
+ uses : golangci/golangci-lint-action@v6
34
38
with :
35
- version : v1.59
39
+ version : v1.62
36
40
goreleaser :
37
41
runs-on : ubuntu-latest
38
42
steps :
39
- - name : Install Go
40
- uses : actions/setup-go@v4
41
- with :
42
- go-version : 1.21.x
43
43
- name : Checkout code
44
- uses : actions/checkout@v3
44
+ uses : actions/checkout@v4
45
45
with :
46
46
fetch-depth : 0
47
+ - name : Install Go
48
+ uses : actions/setup-go@v5
49
+ with :
50
+ go-version : stable
47
51
- name : Run GoReleaser
48
- uses : goreleaser/goreleaser-action@v4
52
+ uses : goreleaser/goreleaser-action@v6
49
53
with :
50
54
version : latest
51
55
args : release --clean
Original file line number Diff line number Diff line change
1
+ version : 2
2
+
1
3
builds :
2
4
- dir : ./cmd/godot
3
5
checksum :
You can’t perform that action at this time.
0 commit comments