File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,23 +19,23 @@ jobs:
19
19
strategy :
20
20
matrix :
21
21
os : [ ubuntu-latest, macos-latest, windows-latest ]
22
+ go-version : [ oldstable, stable]
22
23
runs-on : ${{ matrix.os }}
23
24
steps :
24
25
- uses : actions/checkout@v3
25
26
with :
26
27
fetch-depth : 0
27
28
- uses : actions/setup-go@v4
28
29
with :
29
- go-version : 1.19
30
- cache : true
30
+ go-version : ${{ matrix.go-version }}
31
31
- run : make setup ci
32
32
- uses : codecov/codecov-action@v3
33
- if : matrix.os == 'ubuntu-latest'
33
+ if : matrix.os == 'ubuntu-latest' && matrix.go-version == 'stable'
34
34
with :
35
35
token : ${{ secrets.CODECOV_TOKEN }}
36
36
file : ./coverage.txt
37
37
- uses : goreleaser/goreleaser-action@v4
38
- if : success() && startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest'
38
+ if : success() && startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest' && matrix.go-version == 'stable'
39
39
with :
40
40
version : latest
41
41
distribution : goreleaser-pro
You can’t perform that action at this time.
0 commit comments