From e612ff2bb97297abf2f832588e1be3c481b12df9 Mon Sep 17 00:00:00 2001 From: yutopp Date: Mon, 15 Jul 2024 10:36:29 +0900 Subject: [PATCH 1/2] Update CI deps --- .github/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4174323..2c10535 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,16 +3,16 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: - go: [ '1.19', '1.18' ] + go: [ '1.22.0', '1.21.0', '1.20', '1.19' ] name: ${{ matrix.go }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} @@ -26,10 +26,9 @@ jobs: - run: make vet - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v4 with: files: ./coverage.txt flags: unittests name: codecov-umbrella-${{ matrix.go }} - fail_ci_if_error: true verbose: true From e9c8bddf3ba2130fd64f0029810927d68dcc74bd Mon Sep 17 00:00:00 2001 From: yutopp Date: Mon, 15 Jul 2024 10:45:21 +0900 Subject: [PATCH 2/2] Set codecov token --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c10535..d314008 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,4 +31,5 @@ jobs: files: ./coverage.txt flags: unittests name: codecov-umbrella-${{ matrix.go }} + token: ${{ secrets.CODECOV_TOKEN }} verbose: true