From 830883d076aaa8614a471e0da20f20242bfe15ba Mon Sep 17 00:00:00 2001 From: libotony Date: Thu, 25 Apr 2024 12:48:49 +0100 Subject: [PATCH] switch codecov action to v4 (#713) --- .github/workflows/test.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 234be2c8f..5a8ece73a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -8,13 +8,15 @@ jobs: unit_tests: strategy: matrix: - go-version: [1.21.x] + go-version: [1.22.x] os: [ubuntu-latest, macos-latest, windows-latest] include: - go-version: 1.19.x os: ubuntu-latest - go-version: 1.20.x os: ubuntu-latest + - go-version: 1.21.x + os: ubuntu-latest runs-on: ${{ matrix.os }} steps: - name: Checkout code @@ -41,7 +43,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.21.x + go-version: 1.22.x - name: Make all run: make all @@ -50,4 +52,6 @@ jobs: run: make test-coverage - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }}