File tree Expand file tree Collapse file tree 12 files changed +27
-31
lines changed
Expand file tree Collapse file tree 12 files changed +27
-31
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
1919 goos : ["linux"]
2020 timeout-minutes : 5
2121 steps :
22+ - uses : actions/checkout@v4
2223 - uses : actions/setup-go@v5
2324 with :
24- go-version : " 1.22"
25- - uses : actions/checkout@v4
25+ go-version-file : " go.mod"
2626 - uses : technote-space/get-diff-action@v6
2727 with :
2828 PATTERNS : |
@@ -41,10 +41,10 @@ jobs:
4141 needs : build
4242 timeout-minutes : 5
4343 steps :
44+ - uses : actions/checkout@v4
4445 - uses : actions/setup-go@v5
4546 with :
46- go-version : " 1.22"
47- - uses : actions/checkout@v4
47+ go-version-file : " go.mod"
4848 - uses : technote-space/get-diff-action@v6
4949 with :
5050 PATTERNS : |
@@ -63,10 +63,10 @@ jobs:
6363 needs : build
6464 timeout-minutes : 5
6565 steps :
66+ - uses : actions/checkout@v4
6667 - uses : actions/setup-go@v5
6768 with :
68- go-version : " 1.22"
69- - uses : actions/checkout@v4
69+ go-version-file : " go.mod"
7070 - uses : technote-space/get-diff-action@v6
7171 with :
7272 PATTERNS : |
Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ jobs:
1616 check-mocks-metrics :
1717 runs-on : ubuntu-latest
1818 steps :
19+ - uses : actions/checkout@v4
1920 - uses : actions/setup-go@v5
2021 with :
21- go-version : " 1.22 "
22+ go-version-file : " go.mod "
2223
23- - uses : actions/checkout@v4
2424
2525 - name : " Check generated mocks and metrics"
2626 run : |
@@ -42,13 +42,12 @@ jobs:
4242 check-proto :
4343 runs-on : ubuntu-latest
4444 steps :
45- - uses : actions/setup-go@v5
46- with :
47- go-version : " 1.22"
48-
4945 - uses : actions/checkout@v4
5046 with :
5147 fetch-depth : 1 # we need a .git directory to run git diff
48+ - uses : actions/setup-go@v5
49+ with :
50+ go-version-file : " go.mod"
5251
5352 - name : " Check protobuf generated code"
5453 run : |
Original file line number Diff line number Diff line change @@ -15,11 +15,10 @@ jobs:
1515 runs-on : ubuntu-latest
1616 timeout-minutes : 60
1717 steps :
18+ - uses : actions/checkout@v4
1819 - uses : actions/setup-go@v5
1920 with :
20- go-version : ' 1.22'
21-
22- - uses : actions/checkout@v4
21+ go-version-file : ' go.mod'
2322
2423 - name : Build
2524 working-directory : test/e2e
Original file line number Diff line number Diff line change @@ -15,11 +15,10 @@ jobs:
1515 runs-on : ubuntu-latest
1616 timeout-minutes : 60
1717 steps :
18+ - uses : actions/checkout@v4
1819 - uses : actions/setup-go@v5
1920 with :
20- go-version : ' 1.22'
21-
22- - uses : actions/checkout@v4
21+ go-version-file : ' go.mod'
2322
2423 - name : Build
2524 working-directory : test/e2e
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ jobs:
1313 runs-on : ubuntu-latest
1414 timeout-minutes : 15
1515 steps :
16+ - uses : actions/checkout@v4
1617 - uses : actions/setup-go@v5
1718 with :
18- go-version : ' 1.22'
19- - uses : actions/checkout@v4
19+ go-version-file : ' go.mod'
2020 - uses : technote-space/get-diff-action@v6
2121 with :
2222 PATTERNS : |
Original file line number Diff line number Diff line change @@ -14,11 +14,10 @@ jobs:
1414 fuzz-nightly-test :
1515 runs-on : ubuntu-latest
1616 steps :
17+ - uses : actions/checkout@v4
1718 - uses : actions/setup-go@v5
1819 with :
19- go-version : ' 1.22'
20-
21- - uses : actions/checkout@v4
20+ go-version-file : ' go.mod'
2221
2322 - name : Install go-fuzz
2423 working-directory : test/fuzz
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ jobs:
1414 govulncheck :
1515 runs-on : ubuntu-latest
1616 steps :
17+ - uses : actions/checkout@v4
1718 - uses : actions/setup-go@v5
1819 with :
19- go-version : " 1.23 "
20+ go-version-file : " go.mod "
2021 check-latest : true
21- - uses : actions/checkout@v4
2222 - uses : technote-space/get-diff-action@v6
2323 with :
2424 PATTERNS : |
Original file line number Diff line number Diff line change 2222 - uses : actions/checkout@v4
2323 - uses : actions/setup-go@v5
2424 with :
25- go-version : ' 1.22 '
25+ go-version-file : ' go.mod '
2626 - uses : technote-space/get-diff-action@v6
2727 with :
2828 PATTERNS : |
Original file line number Diff line number Diff line change 1818
1919 - uses : actions/setup-go@v5
2020 with :
21- go-version : ' 1.22 '
21+ go-version-file : ' go.mod '
2222
2323 # Similar check to ./release-version.yml, but enforces this when pushing
2424 # tags. The ./release-version.yml check can be bypassed and is mainly
Original file line number Diff line number Diff line change 1515
1616 - uses : actions/setup-go@v5
1717 with :
18- go-version : ' 1.22 '
18+ go-version-file : ' go.mod '
1919
2020 - name : Check version
2121 run : |
You can’t perform that action at this time.
0 commit comments