@@ -15,19 +15,19 @@ jobs:
15
15
strategy :
16
16
matrix :
17
17
os : [ubuntu-latest, macos-latest, windows-latest]
18
- go : [1.19.x, 1.20.x ]
18
+ go : [stable, oldstable ]
19
19
name : ${{ matrix.os }} @ Go ${{ matrix.go }}
20
20
runs-on : ${{ matrix.os }}
21
21
steps :
22
- - uses : actions/setup-go@v3
22
+ - uses : actions/checkout@v4
23
+ - uses : actions/setup-go@v4
23
24
with :
24
25
go-version : ${{ matrix.go }}
25
26
- name : Set PATH
26
27
run : echo "${GITHUB_WORKSPACE}/.local/bin" >>"${GITHUB_PATH}"
27
- - uses : actions/checkout@v3
28
- - if : matrix.go == '1.20.x' && matrix.os == 'ubuntu-latest'
28
+ - if : matrix.go == 'stable' && matrix.os == 'ubuntu-latest'
29
29
run : make ensure-goimports
30
- - if : matrix.go == '1.20.x ' && matrix.os == 'ubuntu-latest'
30
+ - if : matrix.go == 'stable ' && matrix.os == 'ubuntu-latest'
31
31
run : make lint
32
32
- run : make vet
33
33
- run : make test
@@ -40,12 +40,12 @@ jobs:
40
40
GFLAGS : -tags urfave_cli_no_docs
41
41
- run : make check-binary-size
42
42
- run : make yamlfmt
43
- - if : matrix.go == '1.20.x ' && matrix.os == 'ubuntu-latest'
43
+ - if : matrix.go == 'stable ' && matrix.os == 'ubuntu-latest'
44
44
run : make generate
45
45
- run : make diffcheck
46
- - if : matrix.go == '1.20.x ' && matrix.os == 'ubuntu-latest'
46
+ - if : matrix.go == 'stable ' && matrix.os == 'ubuntu-latest'
47
47
run : make v2diff
48
- - if : success() && matrix.go == '1.20.x ' && matrix.os == 'ubuntu-latest'
48
+ - if : success() && matrix.go == 'stable ' && matrix.os == 'ubuntu-latest'
49
49
uses : codecov/codecov-action@v3
50
50
with :
51
51
token : ${{ secrets.CODECOV_TOKEN }}
@@ -54,15 +54,15 @@ jobs:
54
54
name : test-docs
55
55
runs-on : ubuntu-latest
56
56
steps :
57
- - uses : actions/setup-go@v3
57
+ - uses : actions/checkout@v4
58
+ - uses : actions/setup-go@v4
58
59
with :
59
- go-version : 1.20.x
60
- - uses : actions/setup-node@v3
60
+ go-version : stable
61
+ - uses : actions/setup-node@v4
61
62
with :
62
63
node-version : ' 16'
63
64
- name : Set PATH
64
65
run : echo "${GITHUB_WORKSPACE}/.local/bin" >>"${GITHUB_PATH}"
65
- - uses : actions/checkout@v3
66
66
- run : make ensure-gfmrun
67
67
- run : make gfmrun
68
68
env :
76
76
needs : [test-docs]
77
77
runs-on : ubuntu-latest
78
78
steps :
79
- - uses : actions/checkout@v3
79
+ - uses : actions/checkout@v4
80
80
with :
81
81
fetch-depth : 0
82
82
- run : make ensure-mkdocs
0 commit comments