Skip to content

Commit 6119208

Browse files
authored
Merge pull request #1708 from bstaletic/more-ci-fixes
Fix GHA warnings
2 parents 95fec77 + 2ca0621 commit 6119208

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ jobs:
9393
if: matrix.benchmark == false
9494
uses: actions/setup-go@v4
9595
with:
96-
stable: true
96+
go-version: stable
97+
cache: true
9798
- name: Install GCC
9899
if: runner.os == 'Linux' && matrix.compiler != 'clang'
99100
run: |
@@ -127,6 +128,7 @@ jobs:
127128
if: matrix.benchmark == false
128129
with:
129130
name: "${{ matrix.runs-on }}-${{ matrix.name_suffix }}-tests"
131+
token: ${{ secrets.CODECOV_TOKEN }}
130132
gcov: true
131133

132134
linux_lint:
@@ -237,7 +239,7 @@ jobs:
237239

238240
- name: Install Java
239241
if: matrix.benchmark == false
240-
uses: actions/setup-java@v2
242+
uses: actions/setup-java@v3
241243
with:
242244
java-version: 17
243245
distribution: 'temurin'
@@ -250,7 +252,8 @@ jobs:
250252
if: matrix.benchmark == false
251253
uses: actions/setup-go@v4
252254
with:
253-
stable: true
255+
go-version: stable
256+
cache: true
254257
- name: Run pip and prepare coverage
255258
if: matrix.benchmark == false
256259
run: |
@@ -271,4 +274,4 @@ jobs:
271274
if: matrix.benchmark == false
272275
with:
273276
name: "${{ matrix.runs-on }}-${{ matrix.name_suffix }}-tests"
274-
gcov: true
277+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)